salt icon indicating copy to clipboard operation
salt copied to clipboard

"persist" option for cron.present to enable crons which have been commented out

Open alienzrcoming opened this issue 13 years ago • 3 comments

Hi,

We have occasions where crons have been temporarily disabled (commented out) and then forgotten, leaving them permanently disabled. A "persist" option, or something equivalent for cron.present to ensure that managed crons are enabled would be really handy for situations like this.

Thanks in advance!

alienzrcoming avatar Aug 30 '13 18:08 alienzrcoming

Wait, so if the line is commented out, cron.present won't add an uncommented line?

Thanks for the report!

basepi avatar Aug 31 '13 18:08 basepi

ah crap, it does. i know it did not do that at one point, but it appears to work w/the latest version. apologies for the bad report!

alienzrcoming avatar Aug 31 '13 19:08 alienzrcoming

No worries, just glad it's working. =)

basepi avatar Aug 31 '13 23:08 basepi