standard cron

Signed-off-by: Eric Nemchik <eric@nemchik.com>
This commit is contained in:
Eric Nemchik 2023-07-30 01:11:14 -05:00
parent 178bdbcbae
commit bb6d8bed4f
No known key found for this signature in database
9 changed files with 4 additions and 3 deletions

View File

@ -0,0 +1,2 @@
# min hour day month weekday command
#0 3 * * * python3 /app/diskover/diskover.py -i diskover-my_index_name /data 2>&1

View File

@ -1 +0,0 @@
#0 3 * * * python3 /app/diskover/diskover.py -i diskover-my_index_name /data

View File

@ -15,7 +15,7 @@ if [[ ! -f /config/crontabs/abc ]]; then
# if crontabs still do not exist in config (were not copied from system)
# copy crontab from included defaults (using -n, do not overwrite an existing file)
cp -n /etc/crontabs/abc /config/crontabs/
cp -n /defaults/crontabs/abc /config/crontabs/
fi
# set permissions and import user crontabs

View File

@ -0,0 +1 @@
/etc/s6-overlay/s6-rc.d/init-crontab-config/run

View File

@ -1 +0,0 @@
/etc/s6-overlay/s6-rc.d/init-crontabs-config/run