I'm trying to set a cron job, namely echoing "hi" every minute.
When I do * * * * * echo "hi"
I get blado.kdb: command not found
. Any ideas how I could fix this?
crontab -e
in your shell. This opens a text editor* * * * * echo "hi"
. Save the file the text editor just opened for youYour Cron task is now set
PS: echo "hi"
will print "hi" in a void, if you want to see some results, set a task such as * * * * * touch /tmp/foo
, and you'll see the modification date being updated every minute (ls -l /tmp/foo
)