Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

An interesting Cron schedule question...... 1

Status
Not open for further replies.

jpor2003

Technical User
Jun 3, 2005
76
GB
Hi Gurus,


I have been currently tasked with the this:
I need to create an entry to run a script every 5 minutes,
5 days Sunday to Thursday between 00:00 and 08:30 am.

The script already has the functionality to check if there is more than one occurance of it running.

Any ideas?

Thanks.

 
you'd need 2 crontab lines

0,5,10,15,20,25,30,35,40,45,50,55 0-7 * * 0-4 /path/to/script
0,5,10,15,20,25,30 8 * * 0-4 /path/to/script

if you can run the script until last run 8:55, then one crontab line will do it

0,5,10,15,20,25,30,35,40,45,50,55 0-8 * * 0-4 /path/to/script



HTH,

p5wizard
 
What kind of VG is that? Maybe it's an issue regarding the ration between PPs and PVs. From chvg manual... maybe the factor parameter helps you...
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top