schedule icon indicating copy to clipboard operation
schedule copied to clipboard

Support for cron expressions

Open Wissperwind opened this issue 3 years ago • 1 comments

Hi,

Nice library. I used it for a while now. But now I need more complex cronjobs. For example monday and tuseday at 20:00. People have developed those cron expressions: https://crontab.guru/#5_4___2,5 They enyble you to define even complex cron schedules compact and fast. Is there already support for this? Or would you like to add it? schedule.every().parse_expression("5 4 * * 2,5").do(job) Something like that would be verry handy.

Wissperwind avatar Oct 25 '21 14:10 Wissperwind

That's a great idea !

ph3ne avatar Jan 17 '22 14:01 ph3ne