Fix the cron so it runs correctly.
This commit is contained in:
parent
f0d34369c5
commit
0c983d9fd9
2 changed files with 2 additions and 1 deletions
|
@ -3,4 +3,4 @@ PATH=/sbin:/bin:/usr/sbin:/usr/bin
|
||||||
MAILTO=root@fedoraproject.org
|
MAILTO=root@fedoraproject.org
|
||||||
HOME=/
|
HOME=/
|
||||||
|
|
||||||
*/10 * * * * postgres kill_idle_xact_92.sh
|
*/10 * * * * postgres /usr/local/bin/kill_idle_xact_92.sh
|
||||||
|
|
|
@ -93,6 +93,7 @@
|
||||||
copy: >
|
copy: >
|
||||||
src=kill_idle_xact_92.sh
|
src=kill_idle_xact_92.sh
|
||||||
dest=/usr/local/bin/kill_idle_xact_92.sh
|
dest=/usr/local/bin/kill_idle_xact_92.sh
|
||||||
|
mode=0755
|
||||||
when: inventory_hostname.startswith('db-koji01')
|
when: inventory_hostname.startswith('db-koji01')
|
||||||
tags:
|
tags:
|
||||||
- cron
|
- cron
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue