JobDefs {
  Name = "jobdefs-runscript2"
  Type = Admin
  Messages = Standard
  RunScript {
    RunsWhen = Before
    Runs On Client = No
    FailJobOnError = Yes
    # %d    Daemon’s name (Such as host-dir or host-fd)
    # %n	Job name
    # %t	Job type (Backup, …)
    # %i	Job Id
    Command = "@PROJECT_BINARY_DIR@/tests/@TEST_NAME@/write.sh @working_dir@/jobid-%i-runscript.log 'jobdefs=jobdefs-runscript2' 'daemon=%d' 'jobname=%n' 'jobtype=%t' 'jobid=%i'"
  }
  JobDefs = "jobdefs-runscript1"
}
