HOST-X Help

Wikipedia

A compact wiki for email, FTP, MySQL, SSL, cron jobs, apps, statistics and more. Find step-by-step guides, tips and technical details here.

Create and schedule cron jobs
Wiki topic
Automation

Create and schedule cron jobs

Cron jobs automatically call a PHP script or URL on a fixed schedule. Typical uses are WordPress maintenance, newsletter sending, imports or regular backups.

Steps

  1. 1 Click "CronJobs" on the left, then "New job".
  2. 2 Enter a command: either a full URL or a PHP command.
  3. 3 Choose a schedule or enter cron syntax manually: minute hour day month weekday.
  4. 4 Save. The job runs at the next scheduled time.
  5. 5 After the first run, check whether the script completed without errors.

Cron syntax: examples

Every minute
* * * * *
Every 15 minutes
*/15 * * * *
Hourly
0 * * * *
Daily at 6
0 6 * * *
Mondays at 8
0 8 * * 1
First day of month
0 0 1 * *

War dieser Inhalt hilfreich?

·
$_SESSION['usr']
$_SESSION['usr_id']
$_SESSION['role']
SESSION_NAME: hostx_session
current url: /wiki/cronjobs/en
fail login:
Document root: /home/httpd/www.host-x.de/htdocs
REMOTE_ADDR: 216.73.216.110
HTTP_REFERER:
SERVER_NAME: www.host-x.de
Page: wiki
SCRIPT_NAME: /index.php
SERVER_PROTOCOL: HTTP/2.0