Detached jobs are run by a separate process and because of that they have no access to the memory of the main scheduler process. That's the main purpose of the detached option to separate these jobs from the main process. In such cases use files instead of global variables because files can be accessed from any process. "Run now" always runs jobs in the foreground, in the main process memory and always synchronous. : I am having some problems with a job that uses : global variables. I am trying to start it from : another job as a detached asyncronous job. When : I run it from the other job I get an error : "Undefined variable", but when I run it with : the run now button it runs fine. In both cases : it is running async/detached. Could you explain : what the difference is between running from : another job and running using the run now button? : I really need this job to run async/detached and I : would like to run it from another scheduled job. : Thanks : Jamie
|