Client Login
Call Us: (877) 228-0901 M-F 9am-5pm US EST

Setting up a Cron Job

Determine the site directory where you will install the cron job by typing the following:

sitelookup -d domainname

Navigate to the var/spool/cron folder of the domain you wish to enable the cron job for by typing

cd directoryfromlaststep/var/spool/cron

If the cron directory does not exist, create it by typing

mkdir cron

create a file with the admin name of the site you are on like this

vi admin13
Place your cron commands in this file
Save the file with the vi command :x

Change the ownership of this file like this

chown root admin13

Now run the following commands

crontab -u admin13 admin13
crontab -u admin13 -l

If done correctly it will output the cron job file back to you with no error, and the cron is then live.

Contact Information

Code A Site, LLC
140 Preston Executive Dr.
Suite 100-M
Cary NC 27513
877.228.0901 Phone/Fax

This e-mail address is being protected from spambots. You need JavaScript enabled to view it.

Help & Support

Login Form