random minute is not working as expected #1658
davidmoreirafr
started this conversation in
Potential issues
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Describe your experience
When trying to add the following cron table entries with the code example, the first entry is deleted by the second entry.
~seems to not behave properly if placed as a minute.Expected behavior
crontab -lshould returnI had the following:
How to reproduce it
Run the code example in a task.
Code example
Additional context
Had to fix the file `usr/local/libdata/perl5/site_perl/Rex/Cron/FreeBSD.pm with the patch
The issue seems to be the
~as a minute, it's running as expected with when using the following:minute => "0"hour => "~"Rex version
(R)?ex 1.14.3
Installation method
package manager
Perl version
This is perl 5, version 40, subversion 1 (v5.40.1) built for amd64-openbsd
Operating system running rex
OpenBSD 7.8
Operating system managed by rex
OpenBSD 7.8
Beta Was this translation helpful? Give feedback.
All reactions