Re: cron command

From: Rich Jesse <rjoralist3_at_society.servebeer.com>
Date: Fri, 26 Jun 2015 09:37:00 -0500 (CDT)
Message-ID: <e526584fed3274a2e6c52f166eb4cd5f.squirrel_at_society.servebeer.com>



Hey Brian,

> I am setting up a job to check the server overnight. I only want it to run
> between the hours of 11pm and 7 am.
> Other than specifying in cron:
>
> 0 23, 0, 1, 2, 3, 4, 5, 6, 7 * * 0-6 for hourly starting at 11:00pm and
> ending at 7:00am, is there an easier way for the hours?

Other than the spaces following the commas that would cause you grief, a google of "crontab" found:

http://linux.die.net/man/5/crontab

But those options could depend on your platform and version of cron.

GL!

Rich

--
http://www.freelists.org/webpage/oracle-l
Received on Fri Jun 26 2015 - 16:37:00 CEST

Original text of this message