Last modified: 27 Dec 2007
WARNING: This documentation covers Parallels H-Sphere versions up to 3.1. For the latest up-to-date Parallels H-Sphere documentation, please proceed to the
official Parallels site.
CP Cron (Background Jobs)
Along with the
that H-Sphere puts into its physical servers' crontabs,
there are several background jobs that are executed by H-Sphere on the Control Panel server:
- Accounting - does recurrent billing for end users
- OverLimitCron - checks that the account is not going over the limit
- ResellerCron - does billing for resellers
- TrialCron - suspends expired trial accounts
- RevenueCron - calculates summary billing info
- ContentMovingCron - completes the process of moving user content
- FailedSignupsCron - sends emails about failed signups (every 5 minutes)
- TTAutocloseCron - closes trouble tickets answered certain time ago
- VPSCron - queries the status of creating virtual servers (every 4 minutes)
- ecCron - processes the external_credits table and adds
payments performed within an external payment system outside H-Sphere to this table
as the account credits,
thus integrating external payments into H-Sphere. Read more about
external credits configuration.
CP Cron Configuration
All those cron processes use the last_start table in the H-Sphere database.
This table contains the following fields:
name varchar(20) NOT NULL PRIMARY KEY,
When H-Sphere is restarted, those values are read from this table for each cron.
Field name - CP cron job name as in the list above
(corresponds to the cron tag's name
cron XML configuration file)
Field value - last time that cron was executed
Field last_user - user_id of the last user that was calculated with the cron
(used only for accounting and overlimit).
CP Cron XML Configuration Files
CP cron settings are defined and customized in the corresponding
XML configuration file Here, you can
add new custom CP crons and/or change cron job settings such as priority, starting time and period.
Such customization can also be done by means of
Background Job Manager
Background Job Manager is a utility that allows to enable, start and
disable selected cron jobs from CP interface.
Cron jobs are available from the Admin control panel,
the Background Job System section.