This commit is contained in:
yumoqing 2025-12-30 18:02:02 +08:00
parent 8376dae427
commit dcacdb5efa

View File

@ -81,7 +81,7 @@ sudo mkdir /var/log/sage
sudo cp sage.service /etc/systemd/system
sudo systemctl enable sage
sudo systemctl restart sage
new_cron="0 1 * * * curl http://localhost:9180/appbase/cron/switch_bizdate.dspy"
new_cron="1 0 * * * curl http://localhost:9180/appbase/cron/switch_bizdate.dspy"
cc=$(crontab -l 2>/dev/null)
if ! echo "$cc"|grep -Fq "$new_cron"; then
(echo "$cc";echo "$new_cron") | crontab -