Unix/Linux Go Back    

Solaris The Solaris Operating System, usually known simply as Solaris, is a Unix-based operating system introduced by Sun Microsystems. The Solaris OS is now owned by Oracle.

How to run cron entry every 5 min during office hours only?


Thread Tools Search this Thread Display Modes
Old Unix and Linux 12-21-2016   -   Original Discussion by fretagi
MadeInGermany's Unix or Linux Image
MadeInGermany MadeInGermany is online now Forum Staff  
Join Date: May 2012
Last Activity: 22 January 2018, 1:15 PM EST
Location: Simplicity
Posts: 3,948
Thanks: 335
Thanked 1,324 Times in 1,194 Posts
The /n stepping requires an interval

5-59/10 * * * * command

runs at 5,15,25,35,45,55

5-15/10 * * * * command

runs at 5,15
The Following User Says Thank You to MadeInGermany For This Useful Post:
rbatte1 (12-21-2016)
Sponsored Links
Old Unix and Linux 12-22-2016   -   Original Discussion by fretagi
crexson's Unix or Linux Image
crexson crexson is offline
Registered User
Join Date: Dec 2016
Last Activity: 22 December 2016, 7:56 PM EST
Posts: 5
Thanks: 3
Thanked 0 Times in 0 Posts
be remind to re-activate your change on the crontab and verify with "crontab -l" to check on the change line is existing.
Sponsored Links

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Linux More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
How to Disabling cron for few hours each day rakeshkumar UNIX for Dummies Questions & Answers 1 10-16-2012 09:41 AM
cron off by 5 hours mshilling AIX 4 09-23-2011 04:30 PM
cron entry everurs789 UNIX for Dummies Questions & Answers 3 01-24-2011 11:53 AM
User entry in both cron.allow and cron.deny ksvaisakh Solaris 5 12-25-2009 01:39 PM
Cron job for every five minutes and between hours aemunathan Shell Programming and Scripting 1 12-06-2009 08:15 AM

All times are GMT -4. The time now is 02:24 PM.