aboutsummaryrefslogtreecommitdiff
path: root/src/property/cron.lisp
diff options
context:
space:
mode:
authorSean Whitton <spwhitton@spwhitton.name>2021-12-07 13:07:49 -0700
committerSean Whitton <spwhitton@spwhitton.name>2021-12-07 13:07:49 -0700
commitb35aafd1643f0b7b518220a961e17563bfa7d1c4 (patch)
tree8d980deee0c71033f9b7ceff4241e737fb1933ae /src/property/cron.lisp
parent7dc6f842809416134ef2131b394b559d9a41b4d2 (diff)
downloadconsfigurator-b35aafd1643f0b7b518220a961e17563bfa7d1c4.tar.gz
CRON:RUNS-CONSFIGURATOR: make unapplicable
Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
Diffstat (limited to 'src/property/cron.lisp')
-rw-r--r--src/property/cron.lisp10
1 files changed, 6 insertions, 4 deletions
diff --git a/src/property/cron.lisp b/src/property/cron.lisp
index 011a7b6..2b081dc 100644
--- a/src/property/cron.lisp
+++ b/src/property/cron.lisp
@@ -105,10 +105,12 @@ HOSTDEPLOY etc.
You may wish to apply this property within ESEQPROPS-UNTIL; see the docstring
of IMAGE-DUMPED."
- (image-dumped)
- (nice-system-job
- "consfigurator" when "root"
- "${XDG_CACHE_HOME:-$HOME/.cache}/consfigurator/images/latest"))
+ (with-unapply
+ (image-dumped)
+ (nice-system-job
+ "consfigurator" when "root"
+ "${XDG_CACHE_HOME:-$HOME/.cache}/consfigurator/images/latest")
+ :unapply (unapply (system-job "consfigurator" when "" ""))))
(defprop user-crontab :posix (env &rest jobs)
"Set the contents of the current user's crontab. ENV is like the ENV argument