How to setup daily cron job..

asking

Verified User
Joined
Jul 8, 2010
Messages
58
Hello guyz...

i need to keep daily cron job which should run @ every 24 hours...

but DA's cronjob looks hard to me...so please tell me how to set it...

my current setting are something like this:-

Minute Hour Day of
Month Month Day of
Week Command Select
59 23 1-31 1-12 0-7


Plz edit me if m wrong...

remember i want to run cronjob everyday i.e every 24 hours...
 
It's not DA's cronjob, it's common syntax for cron.
If DA's examples and descriptions are difficult for understanding, you can always use google for better ones.

to run task at 00 minutes every hour, you should use something like,

Code:
0 * * * *
 
ohh k what to keep in hours if i wanna run it every day ? i mean.. to say 24 hours...

plz help me...
 
See example from /etc/crontab.

Code:
01 * * * * root run-parts /etc/cron.hourly
02 4 * * * root run-parts /etc/cron.daily
22 4 * * 0 root run-parts /etc/cron.weekly
42 4 1 * * root run-parts /etc/cron.monthly

I think this is quite clear.
 
Back
Top