Quantcast
Channel: Help Desk » crontab
Browsing latest articles
Browse All 9 View Live

How do I use crontab?

We offer standard unix crontab. No special setup is required. All accounts have crontab enabled by default. You can login via the shell and type: crontab -e to edit your crontab. If you have your...

View Article


Do you offer atd service?

Question: Is the command “at” available for me to use? When i issued an at command, i got the following message: Can’t open /var/run/atd.pid to signal atd. No atd running? Answer: To keep servers...

View Article


How can I have the output of my crontabs mailed to me?

Yes, to have the output of your crontab mailed to you, type: MAILTO=your@email_address.com as the first line of the crontab and all output will go to the address you provide. The post How can I have...

View Article

How can i verify that crontab is running?

Try to add a simple crontab like: * * * * * /bin/touch /home/your_home_directory_here/cron_test.txt this should update the time stamp on the file crontest.txt each minute. Don’t forget to delete this...

View Article

Crontab – General Tips

Here are some very common crontab issues that users often have. 1. First, make sure that the command you are trying to use runs without error from the command line. If it doesn’t run from the command...

View Article


How can I control where output mail from my crontab is sent to?

Question: I noticed that whatever e-mail is sent by cron it is stored in ~/Mailbox , is there a way to forward these mail to my POP account hosted on the same server? Answer: Yes, put the line:...

View Article

Calling php in my cronjob doesn’t work?

Question: I have a crontab line that calls php but it doesn’t work. I use: 5 0 * * * php -f /home/my_home_directory/www/script.php What’s wrong? Answer: Change your call to php from: php -f...

View Article

My crontab has extra comments at the top that I did not add!

Question: My crontab file has lines similiar to : # DO NOT EDIT THIS FILE – edit the master and reinstall. # (/tmp/crontab.31994 installed on Fri Apr 16 09:43:07 2004) # (Cron version — $Id:...

View Article


Crontab is creating sequentially numbered, emtpy files in my directory...

Question: I have the following crontab: * * * * * /usr/bin/wget http://mydomain.com/ow_cron/run.php > /dev/null It works but it leaves files called run.0, run.1, run.2, etc. in my home directory. I...

View Article

Browsing latest articles
Browse All 9 View Live