|
Bugzilla – Full Text Bug Listing |
| Summary: | crontab day of week | ||
|---|---|---|---|
| Product: | [openSUSE] openSUSE Tumbleweed | Reporter: | ulfbart <ub22> |
| Component: | Other | Assignee: | Danilo Spinella <danilo.spinella> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | Major | ||
| Priority: | P5 - None | CC: | danilo.spinella, freek, mseben, per, ub22 |
| Version: | Current | ||
| Target Milestone: | --- | ||
| Hardware: | x86-64 | ||
| OS: | openSUSE Tumbleweed | ||
| Whiteboard: | |||
| Found By: | --- | Services Priority: | |
| Business Priority: | Blocker: | --- | |
| Marketing QA Status: | --- | IT Deployment: | --- |
|
Description
ulfbart
2022-04-09 09:19:54 UTC
bug 1198265 and bug 1198241 read similar and could be due to same change Tested meanwhile. crontab seams to be not running at all on any user incl. root. also if I add the below /etc/crontab 55 4 * * SAT root echo "OK" &>> /root/crontab.txt (CRON) bad day-of-week (/etc/crontab) Yes, all three are based from my point of view on the same update. 1. crontab seams to be not running at all 2. interprtation of day of week is not fully functional according man pages If I edit "/etc/crontab" and enable the line like this: 55 4 * * 1-5 echo "OK" &>> /root/crontab.txt Isn't working too. But if I add only one day it is working 55 4 * * 1 echo "OK" &>> /root/crontab.txt Preliminary solution for me was to use numbers and do a line for each day :-( This was indeed a regression in the latest update. I have backported an upstream commit that fixes this bug, it should be available in the next snapshot. Closing as fixed. (In reply to ulfbart from comment #4) > If I edit "/etc/crontab" and enable the line like this: > 55 4 * * 1-5 echo "OK" &>> /root/crontab.txt > > Isn't working too. But if I add only one day it is working > 55 4 * * 1 echo "OK" &>> /root/crontab.txt > > Preliminary solution for me was to use numbers and do a line for each day :-( As a sidenote, /etc/crontab should be modified directly, "crontab -e" should instead be called, which check that the crontab is correct before installing it. Indeed, when using 1-5 as days, "crontab -e" was reporting it as error, due to this regression. By changing crontab directly, cron fails silently, like in this case. Please reopen this bug if you encounter any other problem, thank you again for the report! (In reply to Danilo Spinella from comment #6) > As a sidenote, /etc/crontab should be modified directly, "crontab -e" should > instead be called, which check that the crontab is correct before installing > it. Indeed, when using 1-5 as days, "crontab -e" was reporting it as error, > due to this regression. By changing crontab directly, cron fails silently, > like in this case. > > Please reopen this bug if you encounter any other problem, thank you again > for the report! Thanks for your work |