Early Bird Registration for DrupalCon Portland 2024 is open! Register by 23:59 PST on 31 March 2024, to get $100 off your ticket.
You can pass a 'crontab' property to the set() method, but that's not documented in its docblock.
Comment | File | Size | Author |
---|---|---|---|
#1 | job_scheduler-crontab-docs-2113179-1.patch | 793 bytes | twistor |
Comments
Comment #1
twistor CreditAttribution: twistor commentedHrm, yeah. I wish we had tests for the crontab parser. I'm not terribly confident in it.
Here's a quick stab at this.
Comment #2
joachim CreditAttribution: joachim commentedThat doesn't sound good! Should we think about writing tests for it? Or using an 3rd party library? A quick search found https://github.com/mtdowling/cron-expression
Comment #3
joachim CreditAttribution: joachim commentedgit commit -m "Issue #2113179 by twistor: Fixed missing documentation of crontab functionality for JobScheduler::set()." --author="twistor "
Comment #4
joachim CreditAttribution: joachim commentedAlso filed #2180687: add tests for the crontab parser.