mirror of
https://github.com/saltstack-formulas/cron-formula.git
synced 2026-07-23 20:33:22 +02:00
style(whitespace): base on multiples of 2 rather than 4
This commit is contained in:
+32
-32
@@ -1,33 +1,33 @@
|
||||
cron:
|
||||
enabled: True # Default
|
||||
lookup: # Not needed, just if you want to use another cron program
|
||||
pkg: 'cronie'
|
||||
tasks:
|
||||
task1:
|
||||
type: 'present' # Default
|
||||
name: 'echo test > /tmp/test'
|
||||
user: 'root'
|
||||
minute: 0
|
||||
hour: 0
|
||||
daymonth: 7
|
||||
month: 1
|
||||
dayweek: 6
|
||||
comment: 'comment1'
|
||||
task2:
|
||||
type: 'absent' # To remove that crontask
|
||||
name: 'echo task2 > /tmp/test2'
|
||||
user: 'root'
|
||||
minute: 'random'
|
||||
hour: 1
|
||||
task3:
|
||||
type: 'absent'
|
||||
name: 'echo task3 > /tmp/test3'
|
||||
user: 'root'
|
||||
special: '@hourly'
|
||||
comment: 'comment3'
|
||||
task4:
|
||||
type: 'present' # run every 5 minutes
|
||||
user: 'root'
|
||||
minute: '*/5'
|
||||
hour: '*'
|
||||
comment: 'comment4'
|
||||
enabled: True # Default
|
||||
lookup: # Not needed, just if you want to use another cron program
|
||||
pkg: 'cronie'
|
||||
tasks:
|
||||
task1:
|
||||
type: 'present' # Default
|
||||
name: 'echo test > /tmp/test'
|
||||
user: 'root'
|
||||
minute: 0
|
||||
hour: 0
|
||||
daymonth: 7
|
||||
month: 1
|
||||
dayweek: 6
|
||||
comment: 'comment1'
|
||||
task2:
|
||||
type: 'absent' # To remove that crontask
|
||||
name: 'echo task2 > /tmp/test2'
|
||||
user: 'root'
|
||||
minute: 'random'
|
||||
hour: 1
|
||||
task3:
|
||||
type: 'absent'
|
||||
name: 'echo task3 > /tmp/test3'
|
||||
user: 'root'
|
||||
special: '@hourly'
|
||||
comment: 'comment3'
|
||||
task4:
|
||||
type: 'present' # run every 5 minutes
|
||||
user: 'root'
|
||||
minute: '*/5'
|
||||
hour: '*'
|
||||
comment: 'comment4'
|
||||
|
||||
Reference in New Issue
Block a user