From b4220d218a61c6630855baf0c040ea9ffb9f7177 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gardais=20J=C3=A9r=C3=A9my?= Date: Wed, 24 Feb 2021 13:57:11 +0100 Subject: [PATCH] Replace "." to "_" in cronjob path Cron jobs with a dot in the path won't work. --- github/check.cachet.update | 2 +- github/check.ceph.update | 2 +- github/check.cstate.update | 2 +- github/check.fusioninventory-agent.update | 4 ++-- github/check.gitea.update | 4 ++-- github/check.nextcloud.update | 2 +- github/check.privatebin.update | 2 +- github/check.searx.update | 2 +- github/check.self-service-password.update | 4 ++-- github/check.shaarli.update | 4 ++-- github/check.wallabag.update | 2 +- 11 files changed, 15 insertions(+), 15 deletions(-) diff --git a/github/check.cachet.update b/github/check.cachet.update index eed7ebf..d73b390 100755 --- a/github/check.cachet.update +++ b/github/check.cachet.update @@ -9,7 +9,7 @@ ### cf. https://git.ipr.univ-rennes1.fr/cellinfo/scripts/src/master/github/releasetags # wget https://git.ipr.univ-rennes1.fr/cellinfo/scripts/raw/master/github/releasetags ### 2. Create a cron job with Cachet directory as first argument, eg. -#00 20 * * * root /opt/repos/ipr.scripts/github/check.cachet.update /var/www/cachet +#00 20 * * * root /opt/repos/ipr.scripts/github/check_cachet_update /var/www/cachet ### 3. Monitor the temp file : /tmp/.github.cachet.upgrade # Or enable MAILTO in cronjob and edit the script to print a message. # Or send a mail. diff --git a/github/check.ceph.update b/github/check.ceph.update index 988352c..65bba5a 100755 --- a/github/check.ceph.update +++ b/github/check.ceph.update @@ -9,7 +9,7 @@ ### cf. https://git.ipr.univ-rennes1.fr/cellinfo/scripts/src/master/github/releasetags # wget https://git.ipr.univ-rennes1.fr/cellinfo/scripts/raw/master/github/releasetags ### 2. Create a cron job, eg : -#00 20 * * * root /opt/repos/ipr.scripts/github/check.ceph.update +#00 20 * * * root /opt/repos/ipr.scripts/github/check_ceph_update ### 3. Monitor the temp file : /tmp/.github.ceph.upgrade # Or enable MAILTO in cronjob and edit the script to print a message. # Or send a mail. diff --git a/github/check.cstate.update b/github/check.cstate.update index 75c6117..013fc57 100755 --- a/github/check.cstate.update +++ b/github/check.cstate.update @@ -8,7 +8,7 @@ ### cf. https://git.ipr.univ-rennes1.fr/cellinfo/scripts/src/master/github/releasetags # wget https://git.ipr.univ-rennes1.fr/cellinfo/scripts/raw/master/github/releasetags ### 2. Create a cron job with cState URL as first argument, eg. -#00 20 * * * root /opt/repos/ipr.scripts/github/check.cstate.update https://vmstatus.domain.tld +#00 20 * * * root /opt/repos/ipr.scripts/github/check_cstate_update https://vmstatus.domain.tld ### 3. Monitor the temp file : /tmp/.github.cstate.upgrade # Or enable MAILTO in cronjob and edit the script to print a message. # Or send a mail. diff --git a/github/check.fusioninventory-agent.update b/github/check.fusioninventory-agent.update index b3f76e3..9a61daa 100755 --- a/github/check.fusioninventory-agent.update +++ b/github/check.fusioninventory-agent.update @@ -10,9 +10,9 @@ ### cf. https://git.ipr.univ-rennes1.fr/cellinfo/scripts/src/master/github/releasetags # wget https://git.ipr.univ-rennes1.fr/cellinfo/scripts/raw/master/github/releasetags ### 2. Create a cron job, eg : -#00 20 * * * root /opt/repos/ipr.scripts/github/check.fusioninventory-agent.update +#00 20 * * * root /opt/repos/ipr.scripts/github/check_fusioninventory-agent_update ### 2-1 Create a cron job to compare the version available in a Debian repository : -#00 20 * * * root /opt/repos/ipr.scripts/github/check.fusioninventory-agent.update repo +#00 20 * * * root /opt/repos/ipr.scripts/github/check_fusioninventory-agent_update repo ### 3. Monitor the temp file : /tmp/.github.fusioninventory-agent.upgrade # Or enable MAILTO in cronjob and edit the script to print a message. # Or send a mail. diff --git a/github/check.gitea.update b/github/check.gitea.update index ad64379..fa8b9c9 100755 --- a/github/check.gitea.update +++ b/github/check.gitea.update @@ -8,9 +8,9 @@ ### cf. https://git.ipr.univ-rennes1.fr/cellinfo/scripts/src/master/github/releasetags # wget https://git.ipr.univ-rennes1.fr/cellinfo/scripts/raw/master/github/releasetags ### 2. Create a cron job, eg. -#00 20 * * * root /opt/repos/ipr.scripts/github/check.gitea.update +#00 20 * * * root /opt/repos/ipr.scripts/github/check_gitea_update ### 2-1 Create a cron job with a specific path for gitea bin, eg. -#00 20 * * * root /opt/repos/ipr.scripts/github/check.gitea.update /srv/bin/gitea +#00 20 * * * root /opt/repos/ipr.scripts/github/check_gitea_update /srv/bin/gitea ### 3. Monitor the temp file : /tmp/.github.gitea.upgrade # Or enable MAILTO in cronjob and edit the script to print a message. # Or send a mail. diff --git a/github/check.nextcloud.update b/github/check.nextcloud.update index 2e4c792..a549fea 100755 --- a/github/check.nextcloud.update +++ b/github/check.nextcloud.update @@ -10,7 +10,7 @@ ### cf. https://git.ipr.univ-rennes1.fr/cellinfo/scripts/src/master/github/releasetags # wget https://git.ipr.univ-rennes1.fr/cellinfo/scripts/raw/master/github/releasetags ### 2. Create a cron job with Nextcloud directory as first argument, eg. -#00 20 * * * root /opt/repos/ipr.scripts/github/check.nextcloud.update /var/www/nextcloud +#00 20 * * * root /opt/repos/ipr.scripts/github/check_nextcloud_update /var/www/nextcloud ### 3. Monitor the temp file : /tmp/.github.nextcloud.upgrade # Or enable MAILTO in cronjob and edit the script to print a message. # Or send a mail. diff --git a/github/check.privatebin.update b/github/check.privatebin.update index 58ba5dc..a5b2a2b 100755 --- a/github/check.privatebin.update +++ b/github/check.privatebin.update @@ -9,7 +9,7 @@ ### cf. https://git.ipr.univ-rennes1.fr/cellinfo/scripts/src/master/github/releasetags # wget https://git.ipr.univ-rennes1.fr/cellinfo/scripts/raw/master/github/releasetags ### 2. Create a cron job with PrivateBin directory as first argument, eg. -#00 20 * * * root /opt/repos/ipr.scripts/github/check.privatebin.update /var/www/privatebin +#00 20 * * * root /opt/repos/ipr.scripts/github/check_privatebin_update /var/www/privatebin ### 3. Monitor the temp file : /tmp/.github.privatebin.upgrade # Or enable MAILTO in cronjob and edit the script to print a message. # Or send a mail. diff --git a/github/check.searx.update b/github/check.searx.update index 3eb497a..d3d5b03 100755 --- a/github/check.searx.update +++ b/github/check.searx.update @@ -9,7 +9,7 @@ ### cf. https://git.ipr.univ-rennes1.fr/cellinfo/scripts/src/master/github/releasetags # wget https://git.ipr.univ-rennes1.fr/cellinfo/scripts/raw/master/github/releasetags ### 2. Create a cron job with Searx directory as first argument, eg. -#00 20 * * * root /opt/repos/ipr.scripts/github/check.searx.update /var/www/searx +#00 20 * * * root /opt/repos/ipr.scripts/github/check_searx_update /var/www/searx ### 3. Monitor the temp file : /tmp/.github.searx.upgrade # Or enable MAILTO in cronjob and edit the script to print a message. # Or send a mail. diff --git a/github/check.self-service-password.update b/github/check.self-service-password.update index 3695eb1..c78ca11 100755 --- a/github/check.self-service-password.update +++ b/github/check.self-service-password.update @@ -10,9 +10,9 @@ ### cf. https://git.ipr.univ-rennes1.fr/cellinfo/scripts/src/master/github/releasetags # wget https://git.ipr.univ-rennes1.fr/cellinfo/scripts/raw/master/github/releasetags ### 2. Create a cron job, eg : -#00 20 * * * root /opt/repos/ipr.scripts/github/check.self-service-password.update +#00 20 * * * root /opt/repos/ipr.scripts/github/check_self-service-password_update ### 2-1. Create a cron job with Self Service Password (SSP) directory as first argument, eg : -#00 20 * * * root /opt/repos/ipr.scripts/github/check.self-service-password.update /var/www/self-service-password +#00 20 * * * root /opt/repos/ipr.scripts/github/check_self-service-password_update /var/www/self-service-password ### 3. Monitor the temp file : /tmp/.github.self-service-password.upgrade # Or enable MAILTO in cronjob and edit the script to print a message. # Or send a mail. diff --git a/github/check.shaarli.update b/github/check.shaarli.update index 31362eb..2bcb72f 100755 --- a/github/check.shaarli.update +++ b/github/check.shaarli.update @@ -8,9 +8,9 @@ ### cf. https://git.ipr.univ-rennes1.fr/cellinfo/scripts/src/master/github/releasetags # wget https://git.ipr.univ-rennes1.fr/cellinfo/scripts/raw/master/github/releasetags ### 2. Create a cron job, eg. -#00 20 * * * root /opt/repos/ipr.scripts/github/check.shaarli.update +#00 20 * * * root /opt/repos/ipr.scripts/github/check_shaarli_update ### 2-1 Create a cron job with a specific path for Shaarli bin, eg. -#00 20 * * * root /opt/repos/ipr.scripts/github/check.shaarli.update /var/www/shaarli.domain.tld +#00 20 * * * root /opt/repos/ipr.scripts/github/check_shaarli_update /var/www/shaarli.domain.tld ### 3. Monitor the temp file : /tmp/.github.shaarli.upgrade # Or enable MAILTO in cronjob and edit the script to print a message. # Or send a mail. diff --git a/github/check.wallabag.update b/github/check.wallabag.update index c77d0a9..3c8d720 100755 --- a/github/check.wallabag.update +++ b/github/check.wallabag.update @@ -9,7 +9,7 @@ ### cf. https://git.ipr.univ-rennes1.fr/cellinfo/scripts/src/master/github/releasetags # wget https://git.ipr.univ-rennes1.fr/cellinfo/scripts/raw/master/github/releasetags ### 2. Create a cron job with Wallabag directory as first argument, eg. -#00 20 * * * root /opt/repos/ipr.scripts/github/check.wallabag.update /var/www/wallabag +#00 20 * * * root /opt/repos/ipr.scripts/github/check_wallabag_update /var/www/wallabag ### 3. Monitor the temp file : /tmp/.github.wallabag.upgrade # Or enable MAILTO in cronjob and edit the script to print a message. # Or send a mail.