You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jul 26, 2024. It is now read-only.
New installs will use the smart function by default. Existing users who want to use this new method as their standard should run ./gravity-sync.sh automate function to replace the existing automated pull with the new Smart Sync.
Describe the Issue
After updating to v2.0.0 I did a ./gravity-sync.sh automate to change to the new standard.
Instead of replacing the excisting cron job it adds a new one. Resulting in a double job now.
Yep, in prior versions I had it looking for .sh pull in the existing code to remove it, because that was unique enough, but in 2.0 it switched to looking for the name of the full GS script based on a variable and I still had the single quote mark around the variable name so it wasn't getting properly parsed. Switched to double quotes and published as 2.0.1.
Describe the Issue
After updating to v2.0.0 I did a
./gravity-sync.sh automate
to change to the new standard.Instead of replacing the excisting cron job it adds a new one. Resulting in a double job now.
crontab -l
*/15 * * * * /bin/bash /home/pi/gravity-sync/gravity-sync.sh pull > /home/pi/gravity-sync/gravity-sync.cron
*/15 * * * * /bin/bash /home/pi/gravity-sync/gravity-sync.sh > /home/pi/gravity-sync/gravity-sync.cron
Configuration:
Workaround:
I did a
crontab -e
and removed the double line manually.The text was updated successfully, but these errors were encountered: