|
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.
 |