Flash Sale:75% Off Hosting + Free DomainEnds in13h47m14sView Plans
Hostvento logoHostvento

How to Edit a Cron Job in Webuzo

This guide shows how to change the time or command of a scheduled task in Webuzo.

Web Hosting2 min read8 steps3 screenshots

What is a cron job?

A cron job is a task that the server runs on a timer, like an alarm clock that starts a script by itself. Webuzo is a control panel, which is a web dashboard where you manage hosting. Ask Hostvento support if Webuzo is on your plan. Menu names may differ slightly between versions.

How the timing works

A cron job has five time fields, then the command. Each field is a number or a star. A star means "every".

FieldMeaningValues
1Minute0 to 59
2Hour0 to 23
3Day of month1 to 31
4Month1 to 12
5Day of week0 to 6 (Sunday is 0)

For example, 30 2 * * * means every day at 2:30 in the morning.

Before you edit

A wrong change can stop an important task, like a backup. Copy down the old line first, so you can put it back.

Steps

  1. Log in to Webuzo with your user account.
    Screenshot: Log in to Webuzo with your user account.
  2. Open Cron Jobs from the menu. It may sit under Advanced.
  3. Find the job in the list.
  4. Click the edit icon at the end of its row.
    Screenshot: Click the edit icon at the end of its row.
  5. Change the time fields. Use the drop-down lists or type the numbers.
  6. Change the command if needed. Use the full path to the script.
  7. Click Save.
  8. Check that the list shows the new values.

Check the command works

Test the command alone first. If you have SSH, run it by hand. SSH lets you type commands on a server from afar.

php /home/username/public_html/script.php

This runs a PHP script once. If it works by hand, it should work in cron. Use your own user name and path.

Editing with SSH

crontab -e

This opens your list of jobs in an editor. Change the line, save and exit.

Tip: Avoid running a heavy job every minute. It can slow your site. Pick the longest gap that still does the job.

Cannot find the page? Open a support ticket.

Quick recap

  • A cron job has five time fields and a command.
    Screenshot: A cron job has five time fields and a command.
  • Open Cron Jobs in Webuzo and click edit.
  • Note the old line before changing it.
  • Test the command by hand.
  • Do not run heavy jobs too often.