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

Class CronSlice

source code

object --+
         |
        CronSlice

Cron slice object which shows a time pattern

Instance Methods [hide private]
 
__init__(self, name, min_v, max_v, enum=None, value=None)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
source code
 
value(self, value=None)
Return the value of the entire slice.
source code
 
render(self)
Return the slice rendered as a crontab
source code
 
__str__(self)
str(x)
source code
 
__unicode__(self) source code
 
every(self, n_value)
Set the every X units value
source code
 
on(self, *n_value)
Set the on the time value.
source code
 
during(self, value_from, value_to)
Set the During value, which sets a range
source code
 
clear(self)
clear the slice ready for new vaues
source code
 
get_range(self, range_value)
Return a cron range for this slice
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, name, min_v, max_v, enum=None, value=None)
(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)