From cdd37ad373e6af81a896145808481574e9030b7a Mon Sep 17 00:00:00 2001 From: "Alex A. Naanou" Date: Tue, 2 Jul 2024 16:00:16 +0300 Subject: [PATCH] added cron job to restart the bot... Signed-off-by: Alex A. Naanou --- etc/cron.d/photographer-bot-restart | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 etc/cron.d/photographer-bot-restart diff --git a/etc/cron.d/photographer-bot-restart b/etc/cron.d/photographer-bot-restart new file mode 100644 index 0000000..f5a0fae --- /dev/null +++ b/etc/cron.d/photographer-bot-restart @@ -0,0 +1,3 @@ +# restart telegram bot every day at 05:00 +00 05 * * * root systemctl restart bot-tg2vk.service +