Package pulp :: Package server :: Module crontab :: Class CronItem
[hide private]
[frames] | no frames]

Class CronItem

source code

object --+
         |
        CronItem

An item which objectifies a single line of a crontab and May be considered to be a cron job object.

Instance Methods [hide private]
 
__init__(self, line=None, command='', meta='')
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
source code
 
parse(self, line)
Parse a cron line string and save the info as the objects.
source code
 
set_slices(self, o_value=None)
Set the values of this slice set
source code
 
is_valid(self)
Return true if this slice set is valid
source code
 
render(self)
Render this set slice to a string
source code
 
meta(self, value=None)
Return or set the meta value to replace the set values
source code
 
every_reboot(self)
Set to every reboot instead of a time pattern
source code
 
clear(self)
Clear the special and set values
source code
 
minute(self)
Return the minute slice
source code
 
hour(self)
Return the hour slice
source code
 
dom(self)
Return the day-of-the month slice
source code
 
month(self)
Return the month slice
source code
 
dow(self)
Return the day of the week slice
source code
 
__str__(self)
str(x)
source code
 
__unicode__(self) source code

Inherited from object: __delattr__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, line=None, command='', meta='')
(Constructor)

source code 

x.__init__(...) initializes x; see x.__class__.__doc__ for signature

Overrides: object.__init__
(inherited documentation)

__str__(self)
(Informal representation operator)

source code 

str(x)

Overrides: object.__str__
(inherited documentation)