[ftbft] remember that /etc/cron.weekly is a place where scripts land and not cron jobs. Put the script in right place
This commit is contained in:
parent
cc0bc4063b
commit
61d8163602
3 changed files with 2 additions and 7 deletions
|
@ -1,2 +1,2 @@
|
||||||
#FTBFS Weekly Reminder
|
#FTBFS Weekly Reminder
|
||||||
* * 0 0 * ftbfs /usr/local/bin/ftbfs.sh
|
|
||||||
|
|
|
@ -1,4 +1,5 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
# A weekly cron job which actually does the items needed.
|
||||||
TMPDIR=`mktemp -d /tmp/ftbfs_reminder.XXXXXX`
|
TMPDIR=`mktemp -d /tmp/ftbfs_reminder.XXXXXX`
|
||||||
GITREPO=https://pagure.io/releng.git
|
GITREPO=https://pagure.io/releng.git
|
||||||
SCRIPT=ftbfs_weekly_reminder.py
|
SCRIPT=ftbfs_weekly_reminder.py
|
||||||
|
|
|
@ -49,12 +49,6 @@
|
||||||
tags:
|
tags:
|
||||||
- ftbfs
|
- ftbfs
|
||||||
|
|
||||||
- name: copy over ftbfs master script.
|
|
||||||
copy: src="ftbfs.sh" dest=/usr/local/bin/sh mode=755
|
|
||||||
when: inventory_hostname.startswith('compose-x86-01')
|
|
||||||
tags:
|
|
||||||
- ftbfs
|
|
||||||
|
|
||||||
- name: add ftbfs weekly cron job
|
- name: add ftbfs weekly cron job
|
||||||
copy: src="ftbfs.cron" dest=/etc/cron.weekly/ mode=755
|
copy: src="ftbfs.cron" dest=/etc/cron.weekly/ mode=755
|
||||||
when: inventory_hostname.startswith('compose-x86-01')
|
when: inventory_hostname.startswith('compose-x86-01')
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue