How to setup a Cron Job in Direct Admin

How to setup a Cron Job in Direct Admin

This demo assumes you’ve already logged in to Direct Admin

Now let’s learn about Cron Jobs and how to set them up in Direct Admin

Scroll down…

Click the Cronjobs link

A Cron Job is a system command that you schedule to occur at a later date/time

For example, if you wanted to run a CGI script every Monday morning, you would set this up as a Cron Job

Scroll down…

This is the main Cron Job page where you can setup new Cron Jobs, or delete existing ones

Let’s setup a Cron Job…..

Enter the path of the script you wish to run

When finished, click Add

In this case, we’re setting up a Cron Job to run the test_script.cgi every morning at 9:00am

To delete the Cron Job, simpy select it here, then click Delete

The Cron Job has been setup, and can be seen here

Scroll up to the top of the page

The Cron Job has been deleted

Click the Home icon here

This is the end of the tutorial. You now know how to setup Cron Jobs in Direct Admin, as well as delete them. For more information on using Cron Jobs, please consult www.site-helper.com/misc.html#cron