mirror of
https://0xacab.org/sutty/sutty
synced 2024-11-22 10:06:23 +00:00
20 lines
715 B
Text
20 lines
715 B
Text
# Limpiar mensualmente
|
|
check program cleanup
|
|
with path "/usr/bin/foreman run -f /srv/Procfile -d /srv cleanup" as uid "rails" gid "www-data"
|
|
every "0 3 1 * *"
|
|
if status != 0 then alert
|
|
|
|
check program access_logs
|
|
with path "/srv/bin/access_logs" as uid "rails" and gid "www-data"
|
|
every "0 0 * * *"
|
|
if status != 0 then alert
|
|
|
|
check program stats
|
|
with path "/usr/bin/foreman run -f /srv/Procfile -d /srv stats" as uid "rails" gid "www-data"
|
|
every "0 1 * * *"
|
|
if status != 0 then alert
|
|
|
|
check program distributed_press_tokens_renew
|
|
with path "/usr/bin/foreman run -f /srv/Procfile -d /srv distributed_press_tokens_renew" as uid "rails" gid "www-data"
|
|
every "0 3 * * *"
|
|
if status != 0 then alert
|