How can I run command every six hours every day?
I tried the following, but it did not work:
/6 * * * * * mycommand
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.
You forgot a
*, and you’ve too many fields. It’s the hour you need to care aboutThis means every sixth hour starting from 0, i.e. at hour 0, 6, 12 and 18 which you could write as