From f93a38feae02fc7e43cf448574aa6d031332a3c6 Mon Sep 17 00:00:00 2001 From: Anton S Date: Mon, 1 Mar 2021 19:42:41 +0200 Subject: [PATCH] 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 --- docs/guides/dns/cloudflared.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/guides/dns/cloudflared.md b/docs/guides/dns/cloudflared.md index 8778202..101f512 100644 --- a/docs/guides/dns/cloudflared.md +++ b/docs/guides/dns/cloudflared.md @@ -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.