Static Public Member Functions | |
| static void | clear_cached_text () |
| static string | crontab_read_all (string user_name="") |
| static bool | has_job (string entry, bool partial_match, bool use_cached_text) |
| static bool | add_job (string entry, bool use_cached_text) |
| static bool | remove_job (string entry, bool use_regex, bool use_cached_text) |
| static bool | install (string file_path, string user_name="") |
| static bool | export (string file_path, string user_name="") |
| static bool | import (string file_path, string user_name="") |
| static bool | add_script_file (string file_name, string cron_dir_type, string text, bool stop_cron_emails) |
| static bool | remove_script_file (string file_name, string cron_dir_type) |
Static Public Attributes | |
| static string | crontab_text = null |
Definition at line 29 of file CronTab.vala.
|
inlinestatic |
Definition at line 88 of file CronTab.vala.
References _, crontab_read_all(), crontab_text, TeeJee.ProcessHelper.exec_sync(), TeeJee.FileSystem.file_write(), TeeJee.ProcessHelper.get_temp_file_path(), TeeJee.Logging.log_error(), and TeeJee.Logging.log_msg().
|
inlinestatic |
Definition at line 270 of file CronTab.vala.
References _, TeeJee.FileSystem.file_exists(), TeeJee.FileSystem.file_read(), TeeJee.FileSystem.file_write(), TeeJee.Logging.log_debug(), TeeJee.Logging.log_error(), and TeeJee.Logging.log_msg().
Referenced by Main.cron_job_update().
|
inlinestatic |
Definition at line 33 of file CronTab.vala.
References crontab_text.
|
inlinestatic |
Definition at line 37 of file CronTab.vala.
References _, TeeJee.ProcessHelper.exec_sync(), and TeeJee.Logging.log_debug().
Referenced by add_job(), export(), has_job(), and remove_job().
|
inlinestatic |
Definition at line 249 of file CronTab.vala.
References _, crontab_read_all(), TeeJee.FileSystem.file_delete(), TeeJee.FileSystem.file_exists(), TeeJee.FileSystem.file_write(), TeeJee.Logging.log_error(), and TeeJee.Logging.log_msg().
|
inlinestatic |
Definition at line 58 of file CronTab.vala.
References crontab_read_all(), and crontab_text.
Referenced by Main.cron_job_update().
|
inlinestatic |
Definition at line 266 of file CronTab.vala.
References install().
|
inlinestatic |
Definition at line 222 of file CronTab.vala.
References _, TeeJee.ProcessHelper.exec_sync(), TeeJee.FileSystem.file_exists(), TeeJee.Logging.log_debug(), TeeJee.Logging.log_error(), and TeeJee.Logging.log_msg().
Referenced by import().
|
inlinestatic |
Definition at line 141 of file CronTab.vala.
References _, crontab_read_all(), crontab_text, Error, TeeJee.ProcessHelper.exec_sync(), TeeJee.FileSystem.file_write(), TeeJee.ProcessHelper.get_temp_file_path(), TeeJee.Logging.log_error(), and TeeJee.Logging.log_msg().
Referenced by Main.cron_job_update().
|
inlinestatic |
Definition at line 317 of file CronTab.vala.
References _, TeeJee.FileSystem.file_delete(), TeeJee.FileSystem.file_exists(), TeeJee.Logging.log_error(), and TeeJee.Logging.log_msg().
Referenced by Main.cron_job_update().
|
static |
Definition at line 31 of file CronTab.vala.
Referenced by add_job(), clear_cached_text(), has_job(), and remove_job().