Jobs that have "Disable on error" property checked get disabled whenever a job processing error occurs. To avoid self-disabling uncheck that property. The semaphore file deletion can fail for the following reasons: 1. The file does not exist (perhaps it is already deleted by another job or process or forcibly deleted from the job script) 2. The file is in use by another job or process 3. Not enough permissions (the file is created by a different user) Please check that you use different files with different jobs and also do not have jobs stagnation. For example you could be running 2 synchronous jobs each taking 2 minutes for the processing and 1 minute setup for the file check interval. In this scenario 24x7 will find file for the second job second time before it completes job 1. After the job 1 it will run first instance of the job 2 which will delete the semaphore file. The second instance of the job 2 will fail complaining that it cannot delete the file. The solution to this problem is to run asynchronous jobs or increase file check interval or put jobs to run in different queues, or change job design so the file is delete from the script rather as part of the notification action. The job would then delete the file only if it exists, otherwise simply skip the delete step. : Hi, : I am using 24x7 Scheduler version 3.3.5 on NT. : I have created 32 jobs and each jobs does a : FTPGetFile of 5 files from a UNIX system. : Each job start when a semaphore file is created. : To test the jobs, I have created 32 semaphores files : with a dos batch. When ftp is completed the semaphore : file use to start the job is supposed to be deleted. : But 24x7 Scheduler doesn't delete the semaphore files : most of the time even if the 5 files were successfully : copied for each job. : I have tried delete before and delete after and the : same problem is happening. : The job is set to disable by the scheduler and an error : log message is written in job log saying : "Unable to delete semaphore file D:\DOCUMENT\GET21000.TXT" : Do you know why the jobs are set to disable state and : the semaphore file is not deleted sometimes? : Is it because too much work is triggered at the same : time ? : Thank you : Mario Lachance
|