SoftTree Technologies SoftTree Technologies
Technical Support Forums
RegisterSearchFAQMemberlistUsergroupsLog in
Problem with SyncLocalDir

 
Reply to topic    SoftTree Technologies Forum Index » 24x7 Scheduler, Event Server, Automation Suite View previous topic
View next topic
Problem with SyncLocalDir
Author Message
Charles Dunning



Joined: 29 Aug 2002
Posts: 12

Post Problem with SyncLocalDir Reply with quote

I am running the script below and get this error in the logfile each time. I can go out and manualy copy the files with out getting an error.

Script

// Copy Support.js file from daytonapp2
FileCopy( "I:\\support\js\HomeSupport.js", "d:\\tempjs\HomeSupport.js" )
// copy to da01
SyncLocalDir( "d:\\statichub\home","g:\\",True, false, True, True )
// copy to da02
SyncLocalDir( "d:\\statichub\home","h:\\",True, false, True, True )
// copy to daytonapp2
SyncLocalDir( "d:\\statichub\home","i:\\",True, false, True, True )
// copy ica file for the internet to daytonapp2
SyncLocalDir( "d:\\etoe_files","i:\\applications\e2e\ica",True, True, True, True )
// Copy js files to production
FileCopy( "d:\\tempjs\homesupport.js","I:\\support\js\homesupport.js" )

Error

3/18/2003 10:10:29 0 27 mASTER cOPY TO WEBSERVERS Job started.
3/18/2003 10:10:51 1 27 mASTER cOPY TO WEBSERVERS A run-time error occurred while executing automation script: Line 10. Error updating file "g:\businessunits\corporate\safe-health-env\sftysmrt\supervisor\pptalks\108_1pp.rtf"
3/18/2003 10:11:16 1 27 mASTER cOPY TO WEBSERVERS A run-time error occurred while executing automation script: Line 12. Error updating file "h:\businessunits\corporate\safe-health-env\sftysmrt\supervisor\pptalks\108_1pp.rtf"
3/18/2003 10:11:31 1 27 mASTER cOPY TO WEBSERVERS A run-time error occurred while executing automation script: Line 14. Error updating file "i:\businessunits\corporate\safe-health-env\sftysmrt\supervisor\pptalks\108_1pp.rtf"
3/18/2003 10:11:31 0 27 mASTER cOPY TO WEBSERVERS Job finished.

Does anyone have an idea why this would happen??

Tue Mar 18, 2003 11:24 am View user's profile Send private message
SysOp
Site Admin


Joined: 26 Nov 2006
Posts: 7966

Post Re: Problem with SyncLocalDir Reply with quote

Please make sure the account you use to run 24x7 has permissions to update these files.
Also please make sure these files are not in use and not read-only.

: I am running the script below and get this error in the logfile each time. I
: can go out and manualy copy the files with out getting an error.

: Script

: // Copy Support.js file from daytonapp2
: FileCopy( "I:\\support\js\HomeSupport.js",
: "d:\\tempjs\HomeSupport.js" )
: // copy to da01
: SyncLocalDir( "d:\\statichub\home","g:\\",True, false,
: True, True )
: // copy to da02
: SyncLocalDir( "d:\\statichub\home","h:\\",True, false,
: True, True )
: // copy to daytonapp2
: SyncLocalDir( "d:\\statichub\home","i:\\",True, false,
: True, True )
: // copy ica file for the internet to daytonapp2
: SyncLocalDir(
: "d:\\etoe_files","i:\\applications\e2e\ica",True,
: True, True, True )
: // Copy js files to production
: FileCopy(
: "d:\\tempjs\homesupport.js","I:\\support\js\homesupport.js"
: )

: Error

: 3/18/2003 10:10:29 0 27 mASTER cOPY TO WEBSERVERS Job started.
: 3/18/2003 10:10:51 1 27 mASTER cOPY TO WEBSERVERS A run-time error occurred
: while executing automation script: Line 10. Error updating file
: "g:\businessunits\corporate\safe-health-env\sftysmrt\supervisor\pptalks\108_1pp.rtf"
: 3/18/2003 10:11:16 1 27 mASTER cOPY TO WEBSERVERS A run-time error occurred
: while executing automation script: Line 12. Error updating file
: "h:\businessunits\corporate\safe-health-env\sftysmrt\supervisor\pptalks\108_1pp.rtf"
: 3/18/2003 10:11:31 1 27 mASTER cOPY TO WEBSERVERS A run-time error occurred
: while executing automation script: Line 14. Error updating file
: "i:\businessunits\corporate\safe-health-env\sftysmrt\supervisor\pptalks\108_1pp.rtf"
: 3/18/2003 10:11:31 0 27 mASTER cOPY TO WEBSERVERS Job finished.

: Does anyone have an idea why this would happen??

Tue Mar 18, 2003 1:37 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.