Cronjob Problem!
Posted by: OriginalPTR
Posted on: 2005-11-19 20:23:00
Well i try to make this cron:
10 * * * * lynx --dump http://www.originalptr.com/scripts/admin/cronjobs.php > /dev/null
I use putty and write crontab -e.
After at the editor i paste the cronjob above.
I press F3 to save this cron and the editor tell me wrote 2 line.
I press Ctrl+X to exit from editor.
But when i return to ssh again i see this error:
crontab: installing new crontab
"/tmp/crontab.VExgme/crontab":1: bad minute
errors in crontab file, can't install.
Well, where is the problem???
I try to enter only:
10 * * * * http://www.originalptr.com/scripts/admin/cronjobs.php
This works ok and when i type crontab -l i see this cronjob:
10 * * * * http://www.originalptr.com/scripts/admin/cronjobs.php
Unfortunately the first crontab is missing when i type crontab -l.
So where is the problem? The read me file of the script i use tell me to set as crontjob the first not the second. I really don't know what is the difference between first and second cronjob, but i think they are same.
Please tell me where is the problem...
I want to save this cron:
10 * * * * lynx --dump http://www.originalptr.com/scripts/admin/cronjobs.php > /dev/null
Thanks a lot.