Cpanel::Cron::listcron

This article documents the usage of the Cpanel::Cron::listcron function in relation to the cPanel interface. This tag can be used inside cPanel pages.


SYNOPSIS

Cpanel::Cron::listcron


DESCRIPTION

This function outputs the values for a cron job.


VARIABLES

INPUT

NONE

OUTPUT

day (string)
Days of the month to be executed.

weekday (string)
Days of the week to be executed.

minute (string)
Minutes of the hour to be executed.

hour (string)
Hours of the day to be executed.

month (string)
Months of the year to be executed

count (string)
[Placeholder for count]
command (string)
command to execute.

command_htmlsafe (string)
HTML escaped command to execute.

count
Entry number of cron tab entry. (crontab entries are stored in an array)


EXAMPLES

<?cp listcron( % % % % % % %,count,command,minute,hour,day,month,weekday) >

This example will list the crontab entry number, the command to be run, the minute, hour, day, month, and day of the week the command will be run.


COPYRIGHT

Copyright 2007 cPanel Inc.