From 9da27e165d56f47137dfcaeee5bce96a25d46df3 Mon Sep 17 00:00:00 2001 From: Matan Sarsha <smatan84@gmail.com> Date: Sun, 1 Sep 2024 20:16:57 +0300 Subject: [PATCH] feat(scripts): cronjob --- install/freegamesclaimer-install.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/install/freegamesclaimer-install.sh b/install/freegamesclaimer-install.sh index eb9a6338..1d648cae 100644 --- a/install/freegamesclaimer-install.sh +++ b/install/freegamesclaimer-install.sh @@ -76,11 +76,11 @@ msg_ok "Created dummy config file" msg_info "Creating cron jobs" msg_info "Creating daily cronjob for epic games" - (crontab -l ; echo "0 0 * * * cd /opt/freegamesclaimer && node epic-games") | crontab - + $STD (crontab -l ; echo "0 0 * * * cd /opt/freegamesclaimer && node epic-games") | crontab - msg_ok "created" msg_info "Creating daily cronjob for gog" - (crontab -l ; echo "2 0 * * * cd /opt/freegamesclaimer && node gog") | crontab - + $STD (crontab -l ; echo "2 0 * * * cd /opt/freegamesclaimer && node gog") | crontab - msg_ok "created" msg_ok "Cron jobs created"