[etc-git] add cron for git status #19

Closed
opened 2019-03-21 15:26:08 +01:00 by gcolpart · 1 comment
Owner

Issue imported from forge.evolix.org on 2019-03-21 14:26:08

  • Project: ansible-roles
  • Issue: 2382
  • Tracker: Evolution
  • Status: Nouveau
  • Author: Gregory C.
  • Category:
  • Started at: 2018-01-03 00:00:00
  • Done ratio: 0
  • Created at: 2018-01-03 11:32:37
  • Updated at: 2018-01-03 11:32:37

I suggest to add a cron like :

@hourly cd /etc/ && who >/dev/null || /usr/bin/git status -s
21 21 * * * cd /etc && /usr/bin/git status -s

to verify if all modifications are well commited.

> **Issue imported from forge.evolix.org on 2019-03-21 14:26:08** > * Project: ansible-roles > * Issue: 2382 > * Tracker: Evolution > * Status: Nouveau > * Author: Gregory C. > * Category: > * Started at: 2018-01-03 00:00:00 > * Done ratio: 0 > * Created at: 2018-01-03 11:32:37 > * Updated at: 2018-01-03 11:32:37 I suggest to add a cron like : @hourly cd /etc/ && who \>/dev/null || /usr/bin/git status -s 21 21 \* \* \* cd /etc && /usr/bin/git status -s to verify if all modifications are well commited.
Contributor

This was done by @jlecour on 2018-09-08

This was done by @jlecour on 2018-09-08
Sign in to join this conversation.
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: evolix/ansible-roles#19
No description provided.