GNU bug report logs -
#75843
shepherd: cron-string->calendar-event does not accept "*/15 * * * *"
Previous Next
Reported by: Tomas Volf <~@wolfsden.cz>
Date: Sat, 25 Jan 2025 22:10:02 UTC
Severity: normal
Done: Ludovic Courtès <ludo <at> gnu.org>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
Tomas Volf <~@wolfsden.cz> writes:
> ERROR: In procedure eval:
> ERROR:
> 1. &message: "\"*/15 * * * *\": invalid minutes cron field"
> --8<---------------cut here---------------end--------------->8---
>
> It seems to work with 0-59/15, so there possibly is some bug in handling
> the *.
I get a similar error with `(cron-string->calendar-event "* * * * *")`
in a `shepherd-service`:
--8<---------------cut here---------------start------------->8---
$ sudo guix system reconfigure config.scm
...
guix system: warning: exception caught while executing 'eval' on service 'root':
Throw to key `%exception' with args `("#<&message message: \"calendar-event: hours: 24: value out of range (0-23)\">")'.
--8<---------------cut here---------------end--------------->8---
but '* 0-23 * * *' works.
This bug report was last modified 103 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.