2024-02-06 21:40:19 +01:00
|
|
|
class kandra::prod_app_frontend_once {
|
2019-06-17 00:26:24 +02:00
|
|
|
include zulip::app_frontend_once
|
2023-04-12 04:09:54 +02:00
|
|
|
include zulip::hooks::push_git_ref
|
|
|
|
include zulip::hooks::zulip_notify
|
2019-06-17 00:26:24 +02:00
|
|
|
|
2024-04-19 17:52:04 +02:00
|
|
|
zulip::cron { 'update-first-visible-message-id':
|
|
|
|
hour => '7',
|
2024-05-08 19:09:55 +02:00
|
|
|
minute => '0',
|
2024-04-19 17:52:04 +02:00
|
|
|
manage => 'calculate_first_visible_message_id --lookback-hours 30',
|
2019-06-17 00:26:24 +02:00
|
|
|
}
|
|
|
|
|
2024-04-19 17:52:04 +02:00
|
|
|
zulip::cron { 'invoice-plans':
|
|
|
|
hour => '22',
|
|
|
|
minute => '0',
|
2019-06-17 00:26:24 +02:00
|
|
|
}
|
2024-04-19 17:52:04 +02:00
|
|
|
zulip::cron { 'downgrade-small-realms-behind-on-payments':
|
|
|
|
hour => '17',
|
|
|
|
minute => '0',
|
2021-06-11 12:53:45 +02:00
|
|
|
}
|
|
|
|
|
2024-04-19 17:52:04 +02:00
|
|
|
zulip::cron { 'check_send_receive_time':
|
2024-04-19 20:25:36 +02:00
|
|
|
hour => '*',
|
|
|
|
minute => '*',
|
2024-05-08 05:30:21 +02:00
|
|
|
command => '/usr/lib/nagios/plugins/zulip_app_frontend/check_send_receive_time --site=https://$(/home/zulip/deployments/current/scripts/get-django-setting NAGIOS_BOT_HOST) >/dev/null',
|
2024-04-19 20:25:36 +02:00
|
|
|
use_proxy => false,
|
2022-06-14 23:52:25 +02:00
|
|
|
}
|
2024-05-08 05:30:21 +02:00
|
|
|
zulip::cron { 'check_user_zephyr_mirror_liveness':
|
|
|
|
hour => '*',
|
|
|
|
minute => '*',
|
|
|
|
command => '/usr/lib/nagios/plugins/zulip_zephyr_mirror/check_user_zephyr_mirror_liveness >/dev/null',
|
|
|
|
}
|
2019-06-17 00:26:24 +02:00
|
|
|
}
|