11 lines
288 B
Bash
Executable File
11 lines
288 B
Bash
Executable File
#!/bin/sh
|
|
|
|
GENERATOR_DIR=/run/systemd/generator
|
|
|
|
rm -f $GENERATOR_DIR/cron.target.wants
|
|
rm -f $GENERATOR_DIR/cron-*.service
|
|
rm -f $GENERATOR_DIR/cron-*.timer
|
|
/usr/lib/systemd/system-generators/systemd-crontab-generator $GENERATOR_DIR
|
|
systemctl daemon-reload
|
|
systemctl restart cron.target
|