YaST2 Developers Documentation: Unknown YCP Module

Unknown YCP Module

This module has an unstable interface.

Global Functions

Info:

File: modules/Cron.ycp Package: yast2 Summary: Read and Write Crontabs Authors: Anas Nashif

$Id$

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