Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
DavideMagno opened this issue Oct 9, 2019 · 1 comment

Comments

@DavideMagno
Copy link

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
Copy link
Collaborator

jwijffels commented Oct 10, 2019

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 * * *

@jwijffels jwijffels reopened this Oct 10, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants