Skip to content

Return Director job log to GoAnywhere Command

Post any question you may have in regards to GoAnywhere Director and let our talented support staff and other users assist you.
  • WayneL Offline
  • Posts: 1
  • Joined: Fri Mar 06, 2015 2:01 pm

Return Director job log to GoAnywhere Command

Post by WayneL »

We are using GoAnywhere Command (GACMD) to launch Director Projects from our scheduling software. We would like to return the contents of the job log - whether successful or not - back to the invoking scheduler software. Doing so will keep all information on any file transfer in the scheduling software itself, and will therefore reduce the need to log directly into GoAnywhere Director.

We determined it is possible to set a variable to the contents of the job log - ${system.job.log}. The contents of that set variable (the job log up to the point where the variable was set) will appear back in the scheduling software if the set variable is part of the <message> found in a Raise Error task. But the log is not complete and does not appear if the Director Project completed successfully.

Do you have any suggestions on how we can get a more complete copy of a job log sent back to our scheduling software - whether the Director Project was successful or not?
  • Support_Rick Offline
  • Support Specialist
  • Posts: 590
  • Joined: Tue Jul 17, 2012 2:12 pm
  • Location: Phoenix, AZ
  • Contact:

Re: Return Director job log to GoAnywhere Command

Post by Support_Rick »

I would suggest that you post the Job Logs to a common file location naming them after the JobID. Return the JobID to your Calling Program. Then, as needed you can look for the file based on JobID.

This will reduce the amount of data that needs to be passed back and forth, but still give you access to the completed job logs.
Rick Elliott
Lead Solutions Consultant
(402) 944.4242
(800) 949-4696
Post Reply