pallet.crate.crontab documentation

crontab management

create-system-crontab

fn

[system]

Create system crontab for the given name.

create-user-crontab

fn

[user]

Create user crontab for the given user.

empty-settings

fn

[]

Define empty crontab settings. This can be used to ensure that settings are available for crontab, independently of whether any are specified elsewhere.

remove-system-crontab

fn

[system]

Remove system crontab for the given name

remove-user-crontab

fn

[user]

Remove user crontab for the specified user

settings

fn

[settings]

Define the crontab settings. The settings are a map from user name to a map of keyword argument values for remote-file content (under :user) and a map from system facility name to a map of keyword argument values for remote-file content

system-crontabs

fn

[& {:keys [action], :or {action :create}}]

Write all system crontab files.

system-settings

fn

[name settings-map]

Define the system's crontab settings. The settings are a map of keyword argument values for remote-file content.

user-crontabs

fn

[& {:keys [action], :or {action :create}}]

Write all user crontab files.

user-settings

fn

[user settings-map]

Define the user's crontab settings. The settings are a map of keyword argument values for remote-file content.