felix.maier ALL=(web) NOPASSWD: ALL
florian.dorrer ALL=(fiona) NOPASSWD: ALL
felix.maier ALL=(fiona) NOPASSWD: ALL
+ florian.dorrer ALL=(unitb.cron) NOPASSWD: ALL
+ felix.maier ALL=(unitb.cron) NOPASSWD: ALL
infra::profile::cron::cronjobs:
flugplan-import:
user: unitb.cron
environment:
- 'PATH="/usr/bin:/bin"'
+ archive_flight_table:
+ command: '/bin/bash /opt/app/web_alt/flugplan/SH_Sources/flight_archive.sh >> /var/log/unitb/flight_archive.log 2>> /var/log/unitb/flight_archive.log'
+ minute: '0'
+ hour: '2'
+ date: '*'
+ month: '*'
+ weekday: '*'
+ user: unitb.cron
+ environment:
+ - 'PATH="/usr/bin:/bin"'
+ archive_flight_table_monitoring:
+ command: '/bin/bash /opt/app/web_alt/flugplan/SH_Sources/flight_archive_monitoring.sh >> /var/log/unitb/flight_archive.log 2>> /var/log/unitb/flight_archive.log'
+ minute: '0'
+ hour: '6'
+ date: '*'
+ month: '*'
+ weekday: '*'
+ user: unitb.cron
+ environment:
+ - 'PATH="/usr/bin:/bin"'
#
# Other scripts for cron
# /opt/app/web/dialogforumRSS/import.sh
environment:
- 'PATH="/usr/bin:/bin"'
archive_flight_table:
- command: '/bin/bash /opt/app/web_alt/flugplan/SH_Sources/flight_archive.sh >> /var/log/unitb/flight_archive.log 2>> /var/log/unitb/flight_archive.log'
- minute: '*/5'
- # minute: '0'
- # hour: '2'
- hour: '*'
- date: '*'
- month: '*'
- weekday: '*'
- user: unitb.cron
- environment:
- - 'PATH="/usr/bin:/bin"'
+ minute: '0'
archive_flight_table_monitoring:
- command: '/bin/bash /opt/app/web_alt/flugplan/SH_Sources/flight_archive_monitoring.sh >> /var/log/unitb/flight_archive.log 2>> /var/log/unitb/flight_archive.log'
minute: '0'
- hour: '6'
- date: '*'
- month: '*'
- weekday: '*'
- user: unitb.cron
- environment:
- - 'PATH="/usr/bin:/bin"'
cleanout_upload_dir:
command: '/bin/bash /opt/app/web/jobs/cleandirs.sh >> /var/log/unitb/clean-uploaded_files.log 2>> /var/log/unitb/clean-uploaded_files.log'
minute: '0'
infra::profile::cron::cronjobs:
flugplan-import:
- minute: '3-59/6'
\ No newline at end of file
+ minute: '3-59/6'
+ archive_flight_table:
+ minute: '5'
+ archive_flight_table_monitoring:
+ minute: '5'
\ No newline at end of file