Skip to content

Cron Details

keithlarson edited this page Apr 8, 2013 · 5 revisions

HTTP Example: CRON Details HTTP Cron Details page lists current details about the cron job created.

All page contacts items that are editable per field.

The Tab: General contains the required information to execute the cron job as you require.

HTTPS Example: CRON HTTPS The Field: Name Is for user reference only.

The Field: Type Includes the Cron job protocol options which includes ('HTTP','HTTPS','SSH','MySQL','WGET','FTP','SHELL') or the option 'OFF' will disable the cron job.

The Field: Domain Allows DNS reference to related the cron job.

The Field: IP Address Allows IP address reference to related the cron job.

The Field: Domain or IP Allows you to choose which reference will be used, Domain or IP .

The Field: Validate Is the value used for validation of a positive result. For example if validating a html page the reference /html could be used to show a valid page completed.

The Field: Threshold Is an integer value that represents how many times a failed cron job can fail within the Threshold Ratio before notifications are engaged.

The Field: Threshold Ratio is the allowed time range to include Threshold failures before notifications are engaged.

The Field: UserName Is the username value for required protocols, SSH , FTP , HTTPS

The Field: Password Is the password value for required protocols, SSH , FTP , HTTPS

The Field: Command||Execute||SQL Please review the Command||Execute||SQL documentation section. This field allows dynamic override and commands for cron jobs.

The Field: Cron Times These fields encompass runtimes for each cron job. These values are based on crontab values.

MySQL Example: CRON MYSQL

Additional options are available via the Command||Execute||SQL section. Below are some examples. Always separate items with === and newline for each item.

  • FTP variable examples and overrides

  • PORT===21

  • PASSIVE===1

  • CWD===/home/username

  • DEBUG===1

  • MySQL variable examples and overrides

  • PORT===3306

  • DATABASE===test

  • QUERY===SELECT 1 as value

  • SSH variable examples and overrides

  • PORT===22

  • DEBUG===1

  • COMMAND===/tmp/script_with_result.sh

FTP Example: CRON FTP

SSH Example: CRON SSH

SHELL Example: CRON SHELL