Jose Diaz-Gonzalez
0856b8d4af
fix: correct the prefix check
2022-02-28 16:24:39 -05:00
Jose Diaz-Gonzalez
257baa1d46
refactor: run crontab under sudo to support rhel systems
...
RHEL blocks users from executing crontab as themselves Because Of Reasons so we need to use sudo instead.
Also refactors file writing to properly support writing the permissions on sudoers files going forward.
Closes #5020
2022-02-27 19:17:04 -05:00
Jose Diaz-Gonzalez
f558008574
fix: correct a few stickler errors
2020-11-21 20:57:33 -05:00
Jose Diaz-Gonzalez
36dc98452d
feat: add function for listing files within a directory by prefix
2020-11-21 20:57:33 -05:00
Jose Diaz-Gonzalez
cf4a533f2f
feat: add common.CatFile()
2020-11-21 20:57:33 -05:00
Jose Diaz-Gonzalez
e0a70411dd
fix: create the file if it does not exist
2020-11-21 20:57:33 -05:00
Jose Diaz-Gonzalez
947b2d4db6
fix: add missing comment
2020-11-21 20:57:33 -05:00
Jose Diaz-Gonzalez
33d3722060
refactor: move common io-related functions into new file
2020-11-21 20:57:33 -05:00