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 11, 2023
2 parents 396537c + b9e65e6 commit f737564
Show file tree
Hide file tree
Showing 13 changed files with 3 additions and 31 deletions.
2 changes: 1 addition & 1 deletion root/app/feed2toot-cron.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/with-contenv bash
# shellcheck shell=bash

s6-setuidgid abc python3 /lsiopy/bin/feed2toot -l "${FEED_LIMIT:-5}" -c /config/feed2toot.ini
python3 /lsiopy/bin/feed2toot -l "${FEED_LIMIT:-5}" -c /config/feed2toot.ini
2 changes: 2 additions & 0 deletions root/etc/crontabs/abc
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# min hour day month weekday command
*/15 * * * * /app/feed2toot-cron.sh 2>&1
1 change: 0 additions & 1 deletion root/etc/crontabs/root

This file was deleted.

Empty file.
22 changes: 0 additions & 22 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.

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 f737564

Please sign in to comment.