Skip to main content

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:
code:
*/2 18-19 3 8 6
the script should run every other minute between 6 , 8 pm on 8/3. don't know why final 6 there; means saturdays.

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

Popular posts from this blog

Thread: Can not create raid array: mdadm: no raid-devices specified.

Thread: HOW TO: Package and theme GTK+ / Gtkmm apps in Linux for Windows

Thread: Twinview issues