def configure(self): self += CronJob( self.expand( "{{component.root.workdir}}/{{component.parent.executable}}"), timing="@reboot", logger=self.root.name, )
def configure(self): self.directory = self.parent.workdir self += CronJob( self.expand("/usr/sbin/logrotate -s {{component.directory}}/state" " {{component.directory}}/logrotate.conf"), timing="45 2 * * *", )
def configure(self): self += CronJob(self.expand( '{{component.root.workdir}}/{{component.parent.executable}}'), timing='@reboot', logger=self.root.name)
def configure(self): self.directory = self.parent.workdir self += CronJob(self.expand( '/usr/sbin/logrotate -s {{component.directory}}/state' ' {{component.directory}}/logrotate.conf'), timing='45 2 * * *')