Hi all, I am trying to run a cronjob to push my files to my git repo once a week and output a prompt to a logfile, my script works fine if I invoke it manually but my cronjob wont run for some reason, I have sourced the file, and restarted my Mac to no avail, right now I believe I have the cronjob timed for every 5 min for testing but would like it to run once a week once I get it working. Any suggestions would be appreciated, thanks in advance.
Cronjob:
I did to no avail, I do not get it, perhaps it is running but I am printing the message wrong in my script? If there is nothing to push it will not show on git and if my "success" message is wrong then it will show nothing in the log file
Here is the line for "success message" in my script($now = date/time)
No output for anything, not even the commands to check the daemon, I tried starting it as well with service crond start but that returns service not found, I would say that this may be due to Apple switching to launchd but I am still able to run the cron man page crontab -e etc., I wonder if they omitted the daemon but the leftovers are still in bash?