salt
salt copied to clipboard
"persist" option for cron.present to enable crons which have been commented out
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!
Wait, so if the line is commented out, cron.present won't add an uncommented line?
Thanks for the report!
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!
No worries, just glad it's working. =)