Project

General

Profile

Actions

User story #10313

closed

Run a command just once

Added by Hamlyn Mootoo almost 8 years ago. Updated over 5 years ago.

Status:
Rejected
Priority:
N/A
Assignee:
-
Category:
Techniques
UX impact:
Suggestion strength:
User visibility:
Effort required:
Name check:
Fix check:
Regression:

Description

I know this is not the intended use of configuration management, but I had unexpected behavior in a directive (the /tmp directory was unexpectedly renamed) and I needed to fix it.
I tried using the job scheduler with a priority of zero and thought that would do it but I couldn't seem to get it to work or didn't wait long enough since it only gives me two hourly boundaries. I ended up adding a rule for a cron job to do the rename, then deleting the rule after the job ran, then put in another rule to delete the cron job entry in the /etc/cron.d directory, then deleted that rule.


Related issues 1 (0 open1 closed)

Is duplicate of Rudder - User story #13667: Add condition_once and execute_once generic methodsReleasedNicolas CHARLESActions
Actions

Also available in: Atom PDF