Skip to content

Commit

Permalink
Merge pull request #13 from linuxserver/standard-cron
Browse files Browse the repository at this point in the history
standard cron
  • Loading branch information
nemchik authored Nov 19, 2023
2 parents dbfa774 + 51b9c5f commit 92458ff
Show file tree
Hide file tree
Showing 14 changed files with 4 additions and 56 deletions.
3 changes: 3 additions & 0 deletions root/defaults/crontabs/root
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# min hour day month weekday command
#0 */4 * * * rsnapshot alpha
#50 23 * * * rsnapshot beta
Empty file removed root/etc/crontabs/abc
Empty file.
11 changes: 0 additions & 11 deletions root/etc/crontabs/root

This file was deleted.

Empty file.
38 changes: 0 additions & 38 deletions root/etc/s6-overlay/s6-rc.d/init-crontabs-config/run

This file was deleted.

1 change: 0 additions & 1 deletion root/etc/s6-overlay/s6-rc.d/init-crontabs-config/type

This file was deleted.

1 change: 0 additions & 1 deletion root/etc/s6-overlay/s6-rc.d/init-crontabs-config/up

This file was deleted.

1 change: 1 addition & 0 deletions root/etc/s6-overlay/s6-rc.d/init-rsnapshot-config/run
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ sed -i -E 's@^#cmd_ssh /usr/bin/ssh$@cmd_ssh /usr/bin/ssh@g' /etc/rsnapshot.conf
sed -i -E 's@^#cmd_du /usr/bin/du$@cmd_du /usr/bin/du@g' /etc/rsnapshot.conf.default
sed -i -E 's@^#cmd_rsnapshot_diff /usr/local/bin/rsnapshot-diff$@cmd_rsnapshot_diff /usr/bin/rsnapshot-diff@g' /etc/rsnapshot.conf.default
sed -i -E 's@^#logfile /var/log/rsnapshot$@logfile /config/rsnapshot.log@g' /etc/rsnapshot.conf.default
sed -i -E 's@^lockfile /var/run/rsnapshot.pid$@lockfile /config/rsnapshot.pid@g' /etc/rsnapshot.conf.default
sed -i -E 's@^#link_dest 0$@link_dest 1@g' /etc/rsnapshot.conf.default
sed -i -E 's@^backup /home/ localhost/$@backup /data/ localhost/\n#backup /home/ localhost/@g' /etc/rsnapshot.conf.default
sed -i -E 's@^backup /etc/ localhost/$@#backup /etc/ localhost/@g' /etc/rsnapshot.conf.default
Expand Down
Empty file.
4 changes: 0 additions & 4 deletions root/etc/s6-overlay/s6-rc.d/svc-cron/run

This file was deleted.

1 change: 0 additions & 1 deletion root/etc/s6-overlay/s6-rc.d/svc-cron/type

This file was deleted.

Empty file.
Empty file.

0 comments on commit 92458ff

Please sign in to comment.