Skip to content
Want to get Premium Web Hosting only at 45₹/Month Signup Now!

How to Create a Cron Job in DirectAdmin

Setting up a Cron Job in DirectAdmin allows you to automate tasks by scheduling commands or scripts to run at specified intervals. Here’s a step-by-step guide to creating a Cron Job in DirectAdmin.


Step 1: Log in to DirectAdmin

  1. Start by logging in to your DirectAdmin account using your credentials.

Step 2: Navigate to Cron Jobs

  • In the left-hand navigation menu, go to Advanced Features.
  • Select Cron Jobs from the dropdown.

Step 3: Set Up a New Cron Job

  1. Click on Create Cron Job to open the setup form for a new Cron Job.

Step 4: Configure the Cron Job Settings

  1. Minute: Choose how often you want the cron job to run in terms of minutes (e.g., every minute, every 5 minutes).
  2. Hour: Set the hour(s) the cron job should run.
  3. Day: Specify which days of the month you want the job to execute.
  4. Month: Select the months during which the job should run.
  5. Day of the Week: Set specific days of the week if you want the cron to run only on certain days.
  6. Command: Enter the command or script you want to execute at the scheduled time.

Step 5: Save the Cron Job

  1. Once all settings are configured, click Create to save and activate the cron job.

Your Cron Job is now set up in DirectAdmin and will run according to the schedule you defined.

Was this article helpful?
YesNo
Back To Top