Skip to main content
added 44 characters in body
Source Link
Seamus
  • 5.1k
  • 3
  • 23
  • 44

I have manually added a command to my crontabcrontab file (Monterey 12.6.9). Pretty simple. Something like "0 10 * * * mv /Users/me/Desktop/testsimple; the /Users/me/Desktop/test2".crontab entry is something like:

0 10 * * * mv /Users/me/Desktop/test /Users/me/Desktop/test2

Which means, at 10am every day, do this rename. Simply

But it simply doesn't work. Other commands in my crontabcrontab file work fine, which suggests that croncron IS actually executing. I HAVE given the croncron app "Full Disk Access" in Security & Privacy. That mvmv command works fine as a terminal command. Not sure where the cron log is, so I haven't pieced together what is happening. This is confusing. Advice?

I have manually added a command to my crontab file (Monterey 12.6.9). Pretty simple. Something like "0 10 * * * mv /Users/me/Desktop/test /Users/me/Desktop/test2". Which means, at 10am every day, do this rename. Simply doesn't work. Other commands in my crontab file work fine, which suggests that cron IS actually executing. I HAVE given the cron app "Full Disk Access" in Security & Privacy. That mv command works fine as a terminal command. Not sure where the cron log is, so I haven't pieced together what is happening. This is confusing. Advice?

I have manually added a command to my crontab file (Monterey 12.6.9). Pretty simple; the crontab entry is something like:

0 10 * * * mv /Users/me/Desktop/test /Users/me/Desktop/test2

Which means, at 10am every day, do this rename.

But it simply doesn't work. Other commands in my crontab file work fine, which suggests that cron IS actually executing. I HAVE given the cron app "Full Disk Access" in Security & Privacy. That mv command works fine as a terminal command. Not sure where the cron log is, so I haven't pieced together what is happening. This is confusing. Advice?

Source Link

why won't my cron command work?

I have manually added a command to my crontab file (Monterey 12.6.9). Pretty simple. Something like "0 10 * * * mv /Users/me/Desktop/test /Users/me/Desktop/test2". Which means, at 10am every day, do this rename. Simply doesn't work. Other commands in my crontab file work fine, which suggests that cron IS actually executing. I HAVE given the cron app "Full Disk Access" in Security & Privacy. That mv command works fine as a terminal command. Not sure where the cron log is, so I haven't pieced together what is happening. This is confusing. Advice?