Something went wrong. Try again.
Docker files for the TLE Community deployment
Something went wrong. Try again.
deployment schedule.ini
1.7 kB · 50 lines
at main
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051## TLE schedule based off of the following example cron file that was probably used in production back in the day### 20 * * * * /data/apps/bin/perl /home/lacuna/server/bin/schedule_building.pl --noquiet --daemonize --noinitialize# 50 * * * * /data/apps/bin/perl /home/lacuna/server/bin/schedule_ship_arrival.pl --noquiet --daemonize --noinitialize## 0 * * * * /home/lacuna/server/bin/run_hourly.sh# 10 1,3,5,7,9,11,13,15,17,19,21,23 * * * /home/lacuna/server/bin/run_two_hourly.sh# 40 2,6,10,14,18,22 * * * /home/lacuna/server/bin/run_four_hourly.sh# 15 3 * * * /home/lacuna/server/bin/run_daily.sh# 15 6 * * 0 /home/lacuna/server/bin/run_weekly.sh## Special note that the building and ship schedule scripts now run as separate docker containers## This config is passed to Ofelia, docs here https://github.com/mcuadros/ofelia#
[job-exec "hourly-tasks"]schedule = @hourlycontainer = servercommand = ./bin/run_hourly.sh
[job-exec "two-hourly-tasks"]schedule = 0 10 1,3,5,7,9,11,13,15,17,19,21,23 * * *container = servercommand = ./bin/run_two_hourly.sh
[job-exec "four-hourly-tasks"]schedule = 0 40 2,6,10,14,18,22 * * *container = servercommand = ./bin/run_four_hourly.sh
[job-exec "daily-tasks"]schedule = 0 15 3 * * *container = servercommand = ./bin/run_daily.sh
[job-exec "weekly-tasks"]schedule = 0 15 6 * * 0container = servercommand = ./bin/run_weekly.sh
# Nightly logical backup of the lacuna db at 04:30. Script lives in this repo and# is bind-mounted into the mysql container; dumps + 7-day retention land on the# host under ./data/backups. See mysql-dump.sh.[job-exec "mysql-dump"]schedule = 0 30 4 * * *container = mysqlcommand = /usr/local/bin/mysql-dump.sh