Having error while writing a cron job
by shozib007 from LinuxQuestions.org on (#5A6PP)
Hi Everone,
As stated in the subject my question is about cron job. I have wrote a simple cron job which is stated below:
* * * * * echo Testing > /home/ipnsadmin/testing.log
But when I save the file (crontab). I am receiving this error:
crontab: installing new crontab
"/tmp/crontab.5J0icd":0: bad minute
errors in crontab file, can't install.
please note: I have tried this job with both root user and a normal user with sudo privileges. Additionally, crond service is also up and running
Your response is highly appreciated to get me out of this. I have spent lots of time but of no use.
Thanks in advance.
Shozib


As stated in the subject my question is about cron job. I have wrote a simple cron job which is stated below:
* * * * * echo Testing > /home/ipnsadmin/testing.log
But when I save the file (crontab). I am receiving this error:
crontab: installing new crontab
"/tmp/crontab.5J0icd":0: bad minute
errors in crontab file, can't install.
please note: I have tried this job with both root user and a normal user with sudo privileges. Additionally, crond service is also up and running
Your response is highly appreciated to get me out of this. I have spent lots of time but of no use.
Thanks in advance.
Shozib