cPanel API 2 Modules - Cron
Warning:
The cPanel API 2 system is deprecated. We strongly recommend that you use UAPI instead of cPanel API 2.
Introduction
The Cron module manages the cron daemon.
Available functions
-
cPanel API 2 Functions -
Cron::add_line
— This function adds a crontab entry. -
cPanel API 2 Functions -
Cron::edit_line
— This function edits a crontab entry. -
cPanel API 2 Functions -
Cron::fetchcron
— This function lists all of the account's cron jobs. -
cPanel API 2 Functions -
Cron::get_email
— This function retrieves the notification email address. -
cPanel API 2 Functions -
Cron::listcron
— This function lists all cron jobs. -
cPanel API 2 Functions -
Cron::remove_line
— This function removes a crontab entry. -
cPanel API 2 Functions -
Cron::set_email
— This function sets the default notification email for the cron daemon.