Software Development Kit

cPanel & WHM's API [+] cPanel & WHM's API [-]


Modules and Plugins [+] Modules and Plugins [-]


cPanel & WHM Hooks [+] cPanel & WHM Hooks [-]


cPAddons (Site Software) [+] cPAddons (Site Software) [-]


System Administration [+] System Administration [-]


Developer Software [+] Developer Software [-]


Back to All Documentation



integrationblogcta.jpg

Cron Module Documentation

The Cron module allows you to schedule tasks in cron.

The functions within this module may or may not be governed by a feature list. The required feature list may vary from function to function, to review a total list of the available features sets on a cPanel server, please see "Feature Manager" in WHM.

Cron::crontab_perms

API Version: 1 - Click here for documentation
Syntax: Cron::crontab_perms( )
Description: Determine whether the crontab binary has the correct permissions required for the crontab interface to work.
Returns:  
 
This function will not output anything if the crontab's permissions are 4755. Otherwise the output will resemble the following:

"/usr/bin/crontab permissions are wrong 0755. Please set to 4755."


Topic revision: r2 - 27 Mar 2012 - 17:45:19 - Main.JenniferDoubrava