Call Us: (877) 228-0901 M-F 9am-5pm US EST Bookmark and Share

FREE CONSULTATION

Fill in form below





Member Login



Setting up a Cron Job PDF  | Print |  E-mail

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.

Comments (0)Add Comment

Write comment

security code
Write the displayed characters


busy
 
© 2006-2009 Code A Site, LLC