Private GIT

Skip to content
Snippets Groups Projects
Commit 4f12269c authored by arjuan's avatar arjuan
Browse files

add offset to cron job

parent c3846467
No related branches found
No related tags found
No related merge requests found
......@@ -18,6 +18,12 @@ You can then run the script as a cron job :
*/15 * * * * python /home/user/gandi_ddns.py
```
But to be nice to the API servers, you should choose a random offset for your job. For example to run at 2 minutes after the hour, and then every 15 minutes :
```
2-59/15 * * * * pythong /home/user/gandi-ddns.py
```
macOS
```
......@@ -26,9 +32,3 @@ ln -s $(pwd) /usr/local/gandi-ddns
sudo cp gandi.ddns.plist /Library/LaunchDaemons/
sudo launchctl /Library/LaunchDaemons/gandi.ddns.plist
```
But to be nice to the API servers, you should choose a random offset, for example to run at 2 minutes after the hour, and then every 15 minutes :
```
2-59/15 * * * * python /home/user/gandi-ddns.py
```
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment