jfinstrom
(James Finstrom)
2
run it manually with sudo -u root
Add debugging to the script
ChatGPT will do this for you too… ask it to add debugging and ways to help you figure out why it isn’t working.
Here is an old but possibly relevant discussion on doing this task. Reading through may give you some insights on the magic.