diff options
| author | Darrick J. Wong <darrick.wong@oracle.com> | 2018-03-23 18:57:22 -0700 |
|---|---|---|
| committer | Theodore Ts'o <tytso@mit.edu> | 2018-08-05 14:59:40 -0400 |
| commit | a2df58945c232186c96ffa8958f555ed33965ff7 (patch) | |
| tree | ec38d5ead15d3a05dc20e9ab09defbd11e44db79 /scrub/e2scrub_all.timer.in | |
| parent | a089aec341997945ad2906414c39c09761a788b7 (diff) | |
| download | e2fsprogs-a2df58945c232186c96ffa8958f555ed33965ff7.tar.gz | |
e2scrub: add service (cron, systemd) support
Add the ability to run the e2scrub utilities as a periodically scheduled
system service.
Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Diffstat (limited to 'scrub/e2scrub_all.timer.in')
| -rw-r--r-- | scrub/e2scrub_all.timer.in | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/scrub/e2scrub_all.timer.in b/scrub/e2scrub_all.timer.in new file mode 100644 index 000000000..3d558bbc8 --- /dev/null +++ b/scrub/e2scrub_all.timer.in @@ -0,0 +1,11 @@ +[Unit] +Description=Periodic ext4 Online Metadata Check for All Filesystems + +[Timer] +# Run on Sunday at 3:10am, to avoid running afoul of DST changes +OnCalendar=Sun *-*-* 03:10:00 +RandomizedDelaySec=60 +Persistent=true + +[Install] +WantedBy=timers.target |
