Thread: crontab repeats several times per minute
hi
i'm using ubunut 12.04 , running cron job.
here coll1.sh file:
cd /home/erin/stuff/img
a=`date +%s`
b=${a}_4.jpg
wget -o $b -q "http://www.houstontranstar.org/snapshots/cctv/4017.jpg"
, here crontab file:
*/2 18-19 3 8 6 /home/erin/stuff/coll1.sh
runs 4 times per minutes , skips 9 minutes.
suggestions doing wrong, please?
thanks,
erin
which crontab file, /etc/crontab or user-defined crontab in /var/spool/cron? if entry in /etc/crontab, needs username between time entries , command run.
these times:
the script should run every other minute between 6 , 8 pm on 8/3. don't know why final 6 there; means saturdays.code:*/2 18-19 3 8 6
schedule trying set here?
it's not possible cron job run several times minute since cron daemon wakes once each minute. else going on.
see in log files job?
Forum The Ubuntu Forum Community Ubuntu Official Flavours Support General Help [ubuntu] crontab repeats several times per minute
Ubuntu
Comments
Post a Comment