YaST2 Developers Documentation: yast2

yast2

modules/Cron.ycp
Read and Write Crontabs
  • Anas Nashif

This module has an unstable interface.

Global Functions

global Read (string filename, map options) -> list

Read crontab contents

Parameters:
filename
options
Return value:
crontab contents
global Write (string filename, list blocks) -> boolean

Write crontab contents

Parameters:
filename
blocks
Return value:
true on success
global AddSimple (string comment, map envs, string command, map event, string file) -> boolean

Add a simple cron job with comment and env. variables

Parameters:
comment
envs
command
event event time: dom, dow, hour, minute, month, special
file
Return value:
true on success