You are not logged in.
Pages: 1
I have issues to setup my Job. In the GUI I never succeeded to set the option for "on success" thats why I edited the Job File manually. I also looked for this topic in other posts here, but all the samples I found doesnt work for me. Is there an FAQ or a sample for a JOB-File where I can see how to write the Arguments for "on success".
I tried in my File:
--on-success="backupId->002" \
and
--on-success=""backupId->002"" \
In the Log I always get the result:
"Backup job 002 is not present in the local /jobs directory"
In the jobs subfolder the ID (Name of the Jobfile) for the Job is "2".
Must I setup my Jobfiles also with 3 digits numeric?
Thanks for your help
Offline
Yes, of course. Job Ids are strings, not numbers, thus 2 != 002
Offline
so far so good - but how can I solve my problem?
name of the jobfile to run on success is "2"
and in the former Job I settet up:
--on-success="backupId->002" \
What I did wrong?
I have to rename the Jobfile from 2 into 002 ?
Thanks for you answer in advance
Last edited by joergnestler (2019-04-24 09:16:37)
Offline
Rename the job:
mv 2 002
And change the name of it in your cron files:
- .../xsi-dir/root-crontab
- /var/spool/cron/crontabs/root
You may need to change permissions on your ESXi crontab to be able to edit it, if so:
chmod 0700 /var/spool/cron/crontabs/root
vi /var/spool/cron/crontabs/root
chmod 0600 /var/spool/cron/crontabs/root
Offline
thanks a lot for your great support - works fine
Offline
Pages: 1