![]() |
|
![]() |
AutoMate Discussion | ![]() |
help :
faq :
home
|
||
Latest News:
|
latest topics : statistics |
Topic Title: Job Rescheduling Topic Summary: Scheduling Created On: 05/02/2018 12:15 PM Status: Read Only |
Linear : Threading : Single : Branch |
![]() |
![]()
|
![]() |
|
Hello -
I am trying to figure out how to accomplish the following. We are running a job in the morning that creates a file. I have to compare that that file to the previous day's file, and if the size is the same I need to reschedule the job an hour later. I figured out the file size comparison, but how do I reschedule...within the job? Thanks Marty |
|
|
|
![]() |
|
Hello - I am trying to figure out how to accomplish the following. We are running a job in the morning that creates a file. I have to compare that that file to the previous day's file, and if the size is the same I need to reschedule the job an hour later. I figured out the file size comparison, but how do I reschedule...within the job? Thanks Marty I'm not an expert or anything, but this is just my take. So this job would normally create a file and then compare the size of that new file to the one created the previous day. If the file size is different, then the job can end. If the file size is the same, then the job should create the file again in 1 hour. Correct? I suppose you could just make an IF/ELSE region block that has a Wait For Duration step of 1 hour and then you just repeat the steps needed to create the file again. Or you could add the LABEL - GO TO steps and have it jump back to the original file creation steps where it would then also check the file size again automatically and repeat every hour until it's different. This is assuming it's all in the same task, and there aren't multiple tasks for file creation. |
|
|
|
![]() |
|
- You can setup the schedule to run one time every hour
- Create a new task that checks if the file exists and if it exists, then check the file size - If it succeeds (the file exists and have different size than previous file) then end the workflow. If it fails then let it continue to your existing task where it creates the file |
|
|
AutoMate Discussion
» AUTOMATE » Automate 11
»
Job Rescheduling
|
![]() |
FuseTalk Enterprise Edition v4.0 - © 1999-2021 FuseTalk Inc. All rights reserved.