  | 
			
				SoftTree Technologies 
				Technical Support Forums
			 | 
		 
		  | 
	 
	 
	
	
	
		
	
	
	
		| Author | 
		Message | 
	 
	
		
			jeff33190 
			 
			
  
			
			
				Joined: 22 Aug 2007 Posts: 96
  | 
			 
			  
		 | 
		
			
				  Error Opening Temporary File | 
				     | 
			 
			
				Last night we had an error on 24x7 scheduler
 
 
An error occurred while executing automation script: Line 11: Error opening temporary file C:\Users\APCESS~1\AppData\Local\Temp\2\247C039.tmp.
 
2/24/2012 08:15:50:105	1	81	0	Copy of Run SAP BW Dependant Jobs if no files arri	Notification Action Failed: Error opening temporary file C:\Users\APCESS~1\AppData\Local\Temp\2\247C059.tmp
 
 
Here is a copy of the JAL script and the line in red which had the error:
 
 
Dim sts, number
 
Dim recipients, string
 
Dim msg, string
 
 
// Notify administrators backup job is running.
 
Set recipients, "msx_dl_team_grpplanningsystems@company.com"
 
 
Set msg, "SAP BW Files not received by cutoff, running backup job"
 
 
//Send mail to recipients
 
MailSend( "24x7@.company.com", "", recipients, "Job @V"job_name" running", msg )
 
 
I checked the temporary directory and found the file and could open it fine.  This job is not set to run "detached" so I changed it to detached and it worked fine.  However if it was not detached I continued to get the same error.  After stopping and starting 24x7 scheduler on the server, the job started working again and no longer created the temporary file.  Can you explain the purpose of the temporary files and why they would be created.
 
 
FYI, our version of 24x7 is 3.4.33
 
 
Thanks for your help.
  | 
			 
		  | 
	 
	
		| Fri Feb 24, 2012 11:25 am | 
		          | 
	 
	
		  | 
	 
	
		
			SysOp 
			Site Admin 
			
  
			
			
				Joined: 26 Nov 2006 Posts: 7992
  | 
			 
			  
		 | 
		
			
				   | 
				     | 
			 
			
				My guess, the process has ran out of resources or something else similar. Making the job detached (always recommended) allows the job not to share resources with the scheduler and with other jobs.
 
Hope that makes sense.
  | 
			 
		  | 
	 
	
		| Sat Feb 25, 2012 12:25 am | 
		          | 
	 
	
		  | 
	 
	
		 | 
	 
 
  
	 
	    
	   | 
	
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
  | 
   
 
		 | 
	 
	  |