file_move not working when job run via scheduler

I am trying to use the function ‘file_move’ to move a source file to archive file once it has been successfully processed.

When the job is run in Designer, the script which executes the archive works fine. But, when the job is run in the scheduler, the file is copied successfully to the archive directory, but the source file still remains.

My job is designed to look for files in a particular source directory. So, having an already processed source file remain is not desired.

I’ve tried using ‘exec’ and ‘move’, but I am also using a SourceLoop and the paths returned by this function are not recognized by the command ‘move’.

Any advice on getting past the ‘file_move’ challenge?

Thanks in advance for your help!


cmaib (BOB member since 2005-11-04)