Hi,
I have a job which runs every 30 minutes (interval 30 minutes at xx:02:33 and xx:32:33).
It has 5 tasks in it.
1. It deletes all files (Delete file) in a temporary folder
2. It creates a file (Write file) with one line of static text and the filename is {JOB(Active,LastRun,yyyyMMddhhmmtt)}.txt and put it in a different folder than step 1.
3. It waits (Wait) 2 minutes
4. It downloads a file (FTP/FTPS/SFTP) from a ftp site and it is downloading the {JOB(Active,LastRun,yyyyMMddhhmmtt)}.txt and places this file in the temp folder of step 1.
5. This task may run if the {JOB(Active,LastRun,yyyyMMddhhmmtt)}.txt file exist (condition File exist) is False in the temp folder. than it is sending an email (Email) telling me the file is not retrieved.
When step 2 happens, there is an other job ftp-ing the file to an ftp site. That's why I have a wait for 2 minutes so there is a lot of time to do this.
In my logs I can see that the upload of the other jobs works fine. The file is ate the other site.
Funny thing is that I receive emails that the file is not there. Why? The file is not downloaded, but not all the time.
Example:
file 200811241232AM.txt upload ok, download ok, no email
file 200811240102AM.txt upload ok, download nok, email send
file 200811240132AM.txt upload ok, download ok, no email
file 200811240202AM.txt upload ok, download nok, email send
etc
Here are more failure times:
22-11 1:32 AM
22-11 2:32 AM
22-11 4:32 AM
22-11 5:32 AM
22-11 6:32 AM
22-11 8:32 AM
22-11 9:32 AM
22-11 10:32 AM
22-11 11:32 AM
22-11 12:32 AM
22-11 1:32 PM
22-11 2:32 PM
22-11 3:32 PM
23-11 7:02 PM
23-11 8:02 PM
23-11 9:02 PM
23-11 10:02 PM
23-11 11:02 PM
24-11 1:02 AM
24-11 2:02 AM
24-11 3:02 AM
24-11 4:02 AM
24-11 5:02 AM
24-11 6:02 AM
24-11 7:02 AM
24-11 12:02 AM
I double checked the variable {JOB(Active,LastRun,yyyyMMddhhmmtt)}.txt in each task, so there are no typo's in there.
Whay is it failing somitimes?
Currently this is on a 4.9.38 VC server.
Regards,
Erik
Edited by user
2008-11-25T08:10:40Z
|
Reason: Not specified
Uses Visualcron since 2006.