Replace "." to "_" in cronjob path
Cron jobs with a dot in the path won't work.
This commit is contained in:
parent
10aed6c7f1
commit
b4220d218a
|
@ -9,7 +9,7 @@
|
||||||
### cf. https://git.ipr.univ-rennes1.fr/cellinfo/scripts/src/master/github/releasetags
|
### 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
|
# 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.
|
### 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
|
### 3. Monitor the temp file : /tmp/.github.cachet.upgrade
|
||||||
# Or enable MAILTO in cronjob and edit the script to print a message.
|
# Or enable MAILTO in cronjob and edit the script to print a message.
|
||||||
# Or send a mail.
|
# Or send a mail.
|
||||||
|
|
|
@ -9,7 +9,7 @@
|
||||||
### cf. https://git.ipr.univ-rennes1.fr/cellinfo/scripts/src/master/github/releasetags
|
### 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
|
# wget https://git.ipr.univ-rennes1.fr/cellinfo/scripts/raw/master/github/releasetags
|
||||||
### 2. Create a cron job, eg :
|
### 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
|
### 3. Monitor the temp file : /tmp/.github.ceph.upgrade
|
||||||
# Or enable MAILTO in cronjob and edit the script to print a message.
|
# Or enable MAILTO in cronjob and edit the script to print a message.
|
||||||
# Or send a mail.
|
# Or send a mail.
|
||||||
|
|
|
@ -8,7 +8,7 @@
|
||||||
### cf. https://git.ipr.univ-rennes1.fr/cellinfo/scripts/src/master/github/releasetags
|
### 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
|
# 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.
|
### 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
|
### 3. Monitor the temp file : /tmp/.github.cstate.upgrade
|
||||||
# Or enable MAILTO in cronjob and edit the script to print a message.
|
# Or enable MAILTO in cronjob and edit the script to print a message.
|
||||||
# Or send a mail.
|
# Or send a mail.
|
||||||
|
|
|
@ -10,9 +10,9 @@
|
||||||
### cf. https://git.ipr.univ-rennes1.fr/cellinfo/scripts/src/master/github/releasetags
|
### 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
|
# wget https://git.ipr.univ-rennes1.fr/cellinfo/scripts/raw/master/github/releasetags
|
||||||
### 2. Create a cron job, eg :
|
### 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 :
|
### 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
|
### 3. Monitor the temp file : /tmp/.github.fusioninventory-agent.upgrade
|
||||||
# Or enable MAILTO in cronjob and edit the script to print a message.
|
# Or enable MAILTO in cronjob and edit the script to print a message.
|
||||||
# Or send a mail.
|
# Or send a mail.
|
||||||
|
|
|
@ -8,9 +8,9 @@
|
||||||
### cf. https://git.ipr.univ-rennes1.fr/cellinfo/scripts/src/master/github/releasetags
|
### 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
|
# wget https://git.ipr.univ-rennes1.fr/cellinfo/scripts/raw/master/github/releasetags
|
||||||
### 2. Create a cron job, eg.
|
### 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.
|
### 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
|
### 3. Monitor the temp file : /tmp/.github.gitea.upgrade
|
||||||
# Or enable MAILTO in cronjob and edit the script to print a message.
|
# Or enable MAILTO in cronjob and edit the script to print a message.
|
||||||
# Or send a mail.
|
# Or send a mail.
|
||||||
|
|
|
@ -10,7 +10,7 @@
|
||||||
### cf. https://git.ipr.univ-rennes1.fr/cellinfo/scripts/src/master/github/releasetags
|
### 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
|
# 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.
|
### 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
|
### 3. Monitor the temp file : /tmp/.github.nextcloud.upgrade
|
||||||
# Or enable MAILTO in cronjob and edit the script to print a message.
|
# Or enable MAILTO in cronjob and edit the script to print a message.
|
||||||
# Or send a mail.
|
# Or send a mail.
|
||||||
|
|
|
@ -9,7 +9,7 @@
|
||||||
### cf. https://git.ipr.univ-rennes1.fr/cellinfo/scripts/src/master/github/releasetags
|
### 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
|
# 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.
|
### 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
|
### 3. Monitor the temp file : /tmp/.github.privatebin.upgrade
|
||||||
# Or enable MAILTO in cronjob and edit the script to print a message.
|
# Or enable MAILTO in cronjob and edit the script to print a message.
|
||||||
# Or send a mail.
|
# Or send a mail.
|
||||||
|
|
|
@ -9,7 +9,7 @@
|
||||||
### cf. https://git.ipr.univ-rennes1.fr/cellinfo/scripts/src/master/github/releasetags
|
### 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
|
# 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.
|
### 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
|
### 3. Monitor the temp file : /tmp/.github.searx.upgrade
|
||||||
# Or enable MAILTO in cronjob and edit the script to print a message.
|
# Or enable MAILTO in cronjob and edit the script to print a message.
|
||||||
# Or send a mail.
|
# Or send a mail.
|
||||||
|
|
|
@ -10,9 +10,9 @@
|
||||||
### cf. https://git.ipr.univ-rennes1.fr/cellinfo/scripts/src/master/github/releasetags
|
### 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
|
# wget https://git.ipr.univ-rennes1.fr/cellinfo/scripts/raw/master/github/releasetags
|
||||||
### 2. Create a cron job, eg :
|
### 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 :
|
### 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
|
### 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 enable MAILTO in cronjob and edit the script to print a message.
|
||||||
# Or send a mail.
|
# Or send a mail.
|
||||||
|
|
|
@ -8,9 +8,9 @@
|
||||||
### cf. https://git.ipr.univ-rennes1.fr/cellinfo/scripts/src/master/github/releasetags
|
### 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
|
# wget https://git.ipr.univ-rennes1.fr/cellinfo/scripts/raw/master/github/releasetags
|
||||||
### 2. Create a cron job, eg.
|
### 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.
|
### 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
|
### 3. Monitor the temp file : /tmp/.github.shaarli.upgrade
|
||||||
# Or enable MAILTO in cronjob and edit the script to print a message.
|
# Or enable MAILTO in cronjob and edit the script to print a message.
|
||||||
# Or send a mail.
|
# Or send a mail.
|
||||||
|
|
|
@ -9,7 +9,7 @@
|
||||||
### cf. https://git.ipr.univ-rennes1.fr/cellinfo/scripts/src/master/github/releasetags
|
### 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
|
# 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.
|
### 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
|
### 3. Monitor the temp file : /tmp/.github.wallabag.upgrade
|
||||||
# Or enable MAILTO in cronjob and edit the script to print a message.
|
# Or enable MAILTO in cronjob and edit the script to print a message.
|
||||||
# Or send a mail.
|
# Or send a mail.
|
||||||
|
|
Loading…
Reference in New Issue