Skip to content

os.cron

Manage a cron job via /etc/cron.d/

Properties

Property Type Required Description
command string No -
day string No -
env object No -
hour string No -
minute string No -
month string No -
name string Yes -
schedule string No -
state string No - (allowed: present, absent)
user string No -
weekday string No -

Platform Support

linux

Events Emitted

  • file.updated