|
@ -41,7 +41,7 @@ after the command: |
|
|
```bash |
|
|
```bash |
|
|
$ crontab -e |
|
|
$ crontab -e |
|
|
# m h dom mon dow command |
|
|
# m h dom mon dow command |
|
|
8 6 * * * /home/user/backup.sh && curl -fsS --retry 3 PING_URL > /dev/null |
|
|
|
|
|
|
|
|
8 6 * * * /home/user/backup.sh && curl -fsS --retry 3 --output /dev/null PING_URL |
|
|
``` |
|
|
``` |
|
|
|
|
|
|
|
|
Now, each time your cron job runs, it will send a HTTP request to the ping URL. |
|
|
Now, each time your cron job runs, it will send a HTTP request to the ping URL. |
|
@ -113,4 +113,4 @@ $ timedatectl status |
|
|
System clock synchronized: yes |
|
|
System clock synchronized: yes |
|
|
NTP service: active |
|
|
NTP service: active |
|
|
RTC in local TZ: no |
|
|
RTC in local TZ: no |
|
|
``` |
|
|
|
|
|
|
|
|
``` |