Work with incron
Return the contents of the specified user's incrontab
CLI Example:
salt '*' incron.list_tab root
Return the contents of the specified user's incrontab
CLI Example:
salt '*' incron.list_tab root
Return the contents of the user's incrontab
CLI Example:
salt '*' incron.raw_cron root
Return the contents of the system wide incrontab
CLI Example:
salt '*' incron.raw_system_cron
Remove a cron job for a specified user. If any of the day/time params are specified, the job will only be removed if the specified params match.
CLI Example:
salt '*' incron.rm_job root /path
Remove a cron job for a specified user. If any of the day/time params are specified, the job will only be removed if the specified params match.
CLI Example:
salt '*' incron.rm_job root /path
Sets a cron job up for a specified user.
CLI Example:
salt '*' incron.set_job root '/root' 'IN_MODIFY' 'echo "$$ $@ $# $% $&"'
Writes the contents of a file to a user's crontab and return error message on error
CLI Example:
salt '*' incron.write_incron_file_verbose root /tmp/new_cron
Writes the contents of a file to a user's crontab
CLI Example:
salt '*' incron.write_cron_file root /tmp/new_cron
Docs for previous releases are available on salt.rtfd.org.
Latest Salt release: 2014.7.1
Upcoming SaltStack events, webinars and local meet ups and user groups.