bnosac / cronR

A simple R package for managing your cron jobs.
Other
288 stars 38 forks source link

Scheduling every 2' between 7:30am and 5:30pm on workdays...possible? #21

Open DavideMagno opened 5 years ago

DavideMagno commented 5 years ago

Hi, first of all thanks a lot for the package: it works great.

I work with financial data and I was wondering if I could run a script regularly when markets are open, ie. every 2' between 7:30am and 5:30pm Monday to Friday?

I think I can do the "every 2'" and "Monday to Friday" but not sure about "from 7:30am to 5:30pm".

Is it possible to set up a job this way?

Thanks - Davide

jwijffels commented 5 years ago

Sure this is possible. Google is your friend. E.g. search online for cron every minute between hours You'll find there */2 07-17 * * *