6 ms·
I added your example to the training data and it seems like it helped it learn exceptions. Here's the result for your prompt: 0 0 8-14 1-4,6-12 *
by jacobpedd 4y ago
I added your example to the training data and it seems like it helped it learn exceptions. Here's the result for your prompt:
0 0 8-14 1-4,6-12 *
- cuu508 4y agoBut that expression doesn't seem to make sense, no? IMO it should generate something like: "0 0 * 1-11 SUN#2" The "#2" bit is not standard cron syntax though and will not work correctly in e.g. Debian cron.
- jacobpedd 4y agoYou’re totally right. Missed the the second Sunday part. Wasn’t aware of the SUN#2 syntax. I find it interesting it used 8,14 as its best approximation. You can see it trying it’s best.