mirror of
https://github.com/nxshock/gron.git
synced 2025-07-01 00:13:36 +05:00
Allow to set cmd working directory
This commit is contained in:
parent
48370480b1
commit
8a4b8e6b50
2 changed files with 4 additions and 1 deletions
|
@ -4,6 +4,7 @@ Description = "print 'Hello' every minute" # job description
|
|||
Cron = "* * * * *" # cron instructions
|
||||
|
||||
Command = "echo Hello" # command to execute
|
||||
WorkingDir = "/tmp" # working directory
|
||||
|
||||
NumberOfRestartAttemts = 3 # number of restart attemts
|
||||
RestartSec = 5 # the time to sleep before restarting a job (seconds)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue