|
|
|
Rank: Newbie
Groups: Registered
Joined: 8/15/2010 Posts: 2 Location: Singapore
|
Hi.
Does SqlBackupandFtp.exe return a code after execution?
The idea is to trigger the backup job with a call like
C:\Program Files\SQLBackupAndFTP\SQLBackupAndFTP.exe" -r "C:\new.jobx" -diff
and check the returned code (taking actions in case of failure).
Thank you Fabrizio
|
|
|
|
Rank: Administration
Groups: Administrators
Joined: 8/12/2009 Posts: 271
|
Hi,
It returns -1 on any fatal error and 0 if no error occured. However it does not indicate whether the job succeeded or not. Probably we need to consider this as a feature ;)
BR, Mike
|
|
|
|
Rank: Guest
Groups:
Joined: 8/10/2009 Posts: 732
|
Yes, that would be a useful feature. Thank you very much for your reply. Fabrizio
|
|
|
|
|