Méthode |
Description |
|
add_cron ( array $paramarray ) : CronJob |
Add a new cron job to the DB. |
|
add_daily_cron ( string $name, mixed $callback, string $description = '' ) : CronJob |
Add a new cron job to the DB, that runs daily. |
|
add_hourly_cron ( string $name, mixed $callback, string $description = '' ) : CronJob |
Add a new cron job to the DB, that runs hourly. |
|
add_monthly_cron ( string $name, mixed $callback, string $description = '' ) : CronJob |
Add a new cron job to the DB, that runs monthly. |
|
add_single_cron ( string $name, mixed $callback, DateTime $run_time, string $description = '' ) : CronJob |
Add a new cron job to the DB, that runs only once. |
|
add_weekly_cron ( string $name, mixed $callback, string $description = '' ) : CronJob |
Add a new cron job to the DB, that runs weekly. |
|
delete_cronjob ( mixed $name ) : boolean |
Delete a Cron Job by name or id from the Database. |
|
get_cronjob ( mixed $name ) : CronJob |
Get a Cron Job by name or id from the Database. |
|