removed script extension (.sh) for the cron files

The cron.weekly scripts are started by run-parts which skips all files with extension.
https://serverfault.com/questions/408093/why-does-cron-weekly-not-run
This commit is contained in:
Anton S
2021-03-01 19:42:41 +02:00
committed by GitHub
parent d914ee60b1
commit f93a38feae
+3 -3
View File
@@ -232,11 +232,11 @@ sudo systemctl restart cloudflared
#### Automating Cloudflared Updates
If you want to have the system update `cloudflared` automatically, simply place the update commands for your configuration method in the
file `/etc/cron.weekly/cloudflared-updater.sh`, and adjust permissions:
file `/etc/cron.weekly/cloudflared-updater`, and adjust permissions:
```bash
sudo chmod +x /etc/cron.weekly/cloudflared-updater.sh
sudo chown root:root /etc/cron.weekly/cloudflared-updater.sh
sudo chmod +x /etc/cron.weekly/cloudflared-updater
sudo chown root:root /etc/cron.weekly/cloudflared-updater
```
The system will now attempt to update the cloudflared binary automatically, once per week.