Cron job Powershell Script
Hello all. I’m hoping someone can help with my syntax here. I’ve been wanting to implement this script for a while, finally set to it today. Manual invocation works just fine. But when I tried to set it up with cron it just doesn’t run.
What I have done:
I have edited crontab -e with
0 */6 * * * pwsh /Applications/Upgradinatorr/upgradinatorr.ps1 -apps radarr,sonarr
I have added /usr/sbin/cron & Terminal to Full Disk Access
I set it around 3-4p. Didn’t run at 6p or 12a.
I’m assuming it’s because of the extra pwsh command there but I don’t know what I’m doing so…
Any advice would be greatly appreciated!!
Mac mini, macOS 14.4