bugfix
This commit is contained in:
parent
8376dae427
commit
dcacdb5efa
2
build.sh
2
build.sh
@ -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 -
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user