Re: crontab not to run in night time
Raju s <[email protected]>
| Newsgroups | gmane.org.user-groups.linux.ilugc |
|---|---|
| Message-ID | <CAGggmUwnkH8gu2ANqNPWj8DkO=PqVemM9dE4QgtOUVXA8dgc9Q@mail.gmail.com> |
On Wed, Nov 18, 2015 at 3:38 PM, Balaji G <[email protected]> wrote: > > > > On Wed, Nov 18, 2015 at 3:27 PM, Raju s <[email protected]> wrote: > > > Hello, > > > > We can set the time interval for scripts to run thro' crontab > > Is it possible to make crontab not to run at night. > > Or can we fix a from and to time for a script to run. > > > > Thanks > > Raju > > _______________________________________________ > yes .. It's possible. > > you can specify hours . > > crontab -e > > # m h dom mon dow command > > h - hours ( you can specify your timing here) > > (e.x) 7 - 18 ( 7am to 6pm) > > Hope it helps. --------------------------------- Thanks for the info. It works i have added */30 09-18 * * 1-6 to work every 30 mnts from 9 to 18 hrs from monday to saturday Raju _______________________________________________ ILUGC Mailing List: http://www.ae.iitm.ac.in/mailman/listinfo/ilugc ILUGC Mailing List Guidelines: http://ilugc.in/mailinglist-guidelines