mirror of
https://anongit.gentoo.org/git/repo/gentoo.git
synced 2025-06-11 07:44:12 +02:00
12 lines
489 B
Diff
12 lines
489 B
Diff
In Gentoo, we rename crontab in sys-process/systemd-cron to crontab-systemd.
|
|
--- a/common/schedule.py
|
|
+++ b/common/schedule.py
|
|
@@ -33,7 +33,7 @@ def _determine_crontab_command() -> str:
|
|
Raises:
|
|
RuntimeError: If none of the supported commands available.
|
|
"""
|
|
- to_check_commands = ['crontab', 'fcrontab']
|
|
+ to_check_commands = ['crontab', 'fcrontab', 'crontab-systemd']
|
|
for cmd in to_check_commands:
|
|
proc = subprocess.run(
|
|
['which', cmd],
|