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?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
crontab -ein 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)