From: "Peña, Botp" Date: 2008-09-12T12:42:59+09:00 Subject: Re: Scripts dying mid-way From: Peter Bailey [mailto:pbailey@bna.com] # I've got a bunch of scripts that suddenly appear to be dying # on me. When # I run them in my Ruby editor, Aracho, they run fine. But, when they're # scheduled with a scheduler and run on their own every ten # minutes or so, # they run the first part of the script, but then stop. Here's a simple # sample of one os these scripts. They're basically just conversion # scripts. They convert EPS or PDF files to two formats, TIFF and PNG, # and, once that's done, they copy and move those files to # various places # on my network. # # The script dies right after it finishes with line 5 here. All # the files # created simply stay in the scratch directory and aren't moved # or copied. you should capture all error and logs. then 1 test run it in the command line, then 2 test run it in the scheduler in immediate/once mode (do not schedule a recurrence yet)