H-Sphere Documentation Administrator Guide

 

Background Job Manager

(version 2.4 and higher)

 

Related Docs:   CP Cron Jobs (Sysadmin guide) CP Cron Configuration (Developer guide)

Background Job Manager is a utility that allows enabling, starting and disabling selected cron jobs from the admin control panel only.

This document will tell you how to manipulate cron jobs, see cron job details and view currently running jobs.

Manipulating Cron Jobs

To manupulate cron jobs via H-Sphere interface:

  1. Click the Background Job Manager icon:
  2. On the page that shows, check necessary jobs:

    The listed cron jobs will do the following:

  • revenue: this cron calculates summary billing info
  • DomainRegistrationRenewal: this cron performs renewal for domains registered via domain registrar (i.e: OpenSRS)
  • transfer: this cron moves accounts between boxes
  • ttAutoClose: this cron closes trouble tickets answered certain time ago
  • accounting: this cron does recurrent billing for end users
  • ASYNC_MAN: this cron checks if asynchronous domain was created
  • trial: this cron suspends expired trial accounts
  • extcharge: this cron 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. More about external credits configuration.
  • vps: this cron queries the status of creating virtual servers (every 4 minutes)
  • escallation: this ticket sets higher priority to the tickets that have not been answered for a long time
  • fSignups: this cron sends emails about failed signups (every 5 minutes)
  • overlimit: this cron checks that the account is not going over the limit
  • Suspend: this cron suspends debtors, finalizes incompletely suspended accounts and suspends users of suspended resellers
  • reseller: this cron does billing for resellers
  • contentMoving: this cron completes the process of moving user content
  • BalanceExhaustionDateEstimator: this cron estimates the period of time before the user balance will be exhausted
  • Choose an action: enable, start or disable jobs. The chosen action will be perfomed for all selected jobs.
  • Click the Apply button. The action will reflect in the job Status.
  • Cron Job Details

    To view details of the specific job, click the Job name and you will see the page similar to this:

    Job name shows the job to be executed. Detailed description of cron jobs is listed in CP Cron Jobs.
    • Group name shows the group the job belongs to;
    • Status shows what action has been performed.
    • Priority ranges from 1 to 10. By default, priority is set as 5 (normal);
    • Period is a time interval between the cron job launches, in minutes;
    • Start at is a time when the job is to be started next time;
    • Before start, min: time left before cron job starts;
    • Launch count shows how many times the job was started since Job Manager was initialized (or since CP was started).

    Read more about job details in CP Cron Configuration.

    Current Jobs

    To view the jobs that are currently running, choose Current Jobs on the admin control panel.

    This page will show detailed information about the current jobs:

    Id, Job name, Group name, Priority, Current status and job Progress in percents.

    Depending on the current status of a job, you can restart, interrupt, suspend or resume specific jobs. To do it, check necessary jobs, select an action and click Apply.


    Related Docs:   CP Cron Jobs (Sysadmin guide) CP Cron Configuration (Developer guide)



    Home   Products   Services   Partners   Support   News   Contact   Forum
    © 2020 psoft.net
    All rights reserved.