- I would like to use cron on my Mac. I choose it over launchd, because I want to be able to use my new knowledge on Linux as well. However, I cannot seem to get the crontab -e command to work. It fires up vim, I enter my test job: 0-59. mollerhoj3 echo 'Hello World' But after saving and quitting (:wq), crontab -l says: No crontab for.
- The cron is a time-based job scheduler in Unix-like computer operating systems. It allows the user to schedule time to run tasks, so you can automate things like backups, create logs, health checks.
- In my crontab I have: @reboot macchanger -r eth0 (changed on my root user). But the MAC address is not changing when I reboot. Macchanger -r eth0 works fine in the terminal.
Crontab reboot command not working
Greetings
I am new at this so excuse any ignorant mistakes I might be making.
I have a server (MM X.4.9) that I would like to restart every day in order to make sure no programmes are hanging etc. If a program is hanging is should force quit it. Using terminal I have entered the following command:
sudo nano /etc/crontab
Entered password
Than I entered using tab between each sequence:
15 13 1 1 * root reboot
This was a test run and it did not reboot.
Entering
cat /etc/crontab
I got:
# The periodic and atrun jobs have moved to launchd jobs
# See /System/Library/LaunchDaemons
#
# minute hour mday month wday who command
15 13 1 1 * root reboot
What have I done wrong?
Thanks
Greetings
I am new at this so excuse any ignorant mistakes I might be making.
I have a server (MM X.4.9) that I would like to restart every day in order to make sure no programmes are hanging etc. If a program is hanging is should force quit it. Using terminal I have entered the following command:
sudo nano /etc/crontab
Entered password
Than I entered using tab between each sequence:
15 13 1 1 * root reboot
This was a test run and it did not reboot.
Entering
cat /etc/crontab
I got:
# The periodic and atrun jobs have moved to launchd jobs
# See /System/Library/LaunchDaemons
#
# minute hour mday month wday who command
15 13 1 1 * root reboot
What have I done wrong?
Thanks
How do I schedule cron jobs on a mac? Is there a gui interface provided by apple for scheduling tasks on a mac, or should I just the cron command line like how you'd do it in linux? And, this might be a silly question, but once you've scheduled a cron job, does it run.
MBP, Mac OS X (10.4.9) Controller keyboard for mac.
No Crontab For Mac Installer
![No Crontab For Mac No Crontab For Mac](/uploads/1/0/6/9/106920811/447490198.png)
Cron Job Mac
Posted on Free player for mac.