YaST2 Developers Documentation: yast2



functions
files
intro

yast2

modules/Cron.ycp
Read and Write Crontabs

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
file
Return value:
true on success

YaST2 Developers Documentation