SoftTree Technologies SoftTree Technologies
Technical Support Forums
RegisterSearchFAQMemberlistUsergroupsLog in
Remote Files

 
Reply to topic    SoftTree Technologies Forum Index » 24x7 Scheduler, Event Server, Automation Suite View previous topic
View next topic
Remote Files
Author Message
Grant



Joined: 07 Oct 2005
Posts: 8

Post Remote Files Reply with quote

I am working on migrating from just running 24x7 locally to running it on a
seperate scheduling server. I have jobs that check for the existence of other
files on the Remote Agent's server. Is there some syntax I can use to check for
those files using "Run this job: when certain files are found" or will I have
to change my scripts to use the FTPFileExists command and set up FTP access to
those folders? My team does not own the scheduling server and I do not think
we will be allowed to create mapped drives on the scheduling server.

Also if I need to create files on the application server is there a simpler way
of doing it than creating it locally on the scheduling server, FTPing it to the
correct location on the application server and then deleting the local copy? I
tried FileSave "\\\\appServerName\\shareName\\folder\\filename", "", but that did
not work.

Wed Oct 12, 2005 4:39 pm View user's profile Send private message
SysOp
Site Admin


Joined: 26 Nov 2006
Posts: 7963

Post Re: Remote Files Reply with quote

The boring part.....

You can check files using their UNC names like
\\REMOTESERVER\REMOTESHARE\FOLDER\FILE

This is the best method.

If you cannot do that use FTPFileExists in a "checker" job running every x minutes. From that job you can trigger the main job using either
JobRemoteRun job_id
or
RunAndWait "24x7 /JOB job_id", "", 0, process

commands

I guess \\\\appServerName\\shareName\\folder\\filename didn't work because the remote share is not shared or you don't have permissions for that.

Now...... Here is the best part.

If instead of 24x7 Windows edition you run 24x7 RA Server Java edition (on the remote server) you can then check files, read and write them over the network as if they were local files. I mean the job will run on the local server while checking files, saving them and running processes on the remote.
For more details read "24x7 Linux & UNIX RA Server Reference" manual. Although the code is targeted mostly to Unix systems, it can be also run on Windows.

: I am working on migrating from just running 24x7 locally to running it on a
: seperate scheduling server. I have jobs that check for the existence of other
: files on the Remote Agent's server. Is there some syntax I can use to check
: for
: those files using "Run this job: when certain files are found" or
: will I have
: to change my scripts to use the FTPFileExists command and set up FTP access
: to
: those folders? My team does not own the scheduling server and I do not think
: we will be allowed to create mapped drives on the scheduling server.

: Also if I need to create files on the application server is there a simpler
: way
: of doing it than creating it locally on the scheduling server, FTPing it to
: the
: correct location on the application server and then deleting the local copy?
: I
: tried FileSave "\\\\appServerName\\shareName\\folder\\filename",
: "", but that did
: not work.

Wed Oct 12, 2005 7:33 pm View user's profile Send private message
Display posts from previous:    
Reply to topic    SoftTree Technologies Forum Index » 24x7 Scheduler, Event Server, Automation Suite All times are GMT - 4 Hours
Page 1 of 1

 
Jump to: 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


 

 

Powered by phpBB © 2001, 2005 phpBB Group
Design by Freestyle XL / Flowers Online.