-
-
Notifications
You must be signed in to change notification settings - Fork 102
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
@app.task('daily.at("21:00") before Friday') #191
Labels
bug
Something isn't working
Comments
You are not using the starting condition correctly. from rocketry import Rocketry
from rocketry.conds import daily, weekly
app = Rocketry()
@app.task(daily.at('21:00') & weekly.before('Friday'))
def do_daily():
print('hi')
if __name__ == '__main__':
app.run() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug
above statements results in rocketry.parse.utils.exception.ParserError: Could not find parser for string 'daily.at'.
To Reproduce
Steps to reproduce the behavior.
Expected behavior
Statement should run every MO,TUE,WED,THUR,FRI at 21:00
Desktop (please complete the following information):
The text was updated successfully, but these errors were encountered: