This commit is contained in:
parent
81afa369f2
commit
0e044ad6ec
10
gistfile2.sh
Normal file
10
gistfile2.sh
Normal file
@ -0,0 +1,10 @@
|
||||
#!/bin/sh
|
||||
|
||||
GENERATOR_DIR=/run/systemd/generator
|
||||
|
||||
rm -f $GENERATOR_DIR/cron-*.service
|
||||
rm -f $GENERATOR_DIR/cron-*.timer
|
||||
rm -f $GENERATOR_DIR/cron.target
|
||||
/usr/lib/systemd/system-generators/systemd-crontab-generator $GENERATOR_DIR
|
||||
systemctl daemon-reload
|
||||
systemctl restart cron.target
|
Loading…
Reference in New Issue
Block a user