Network Automation Software We are currently migrating this forum
over to our HelpSystems domain. Please
post all new threads in our new
HelpSystems Community Portal.
Post to the HelpSystems Forum
You are not currently logged on. You must be logged on in order to post. Log on
Or Create a new account
AutoMate Discussion
Decrease font size
Increase font size
Topic Title: Job Rescheduling
Topic Summary: Scheduling
Created On: 05/02/2018 12:15 PM
Status: Read Only
Linear : Threading : Single : Branch
Search Topic Search Topic
Topic Tools Topic Tools
View similar topics View similar topics
View topic in raw text format. Print this topic.
 05/02/2018 12:15 PM
User is offline View Users Profile Print this message

Author Icon
MartySpeare
Apprentice (20-49)

Posts: 33
Joined: 02/23/2018

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
 05/03/2018 03:55 PM
User is offline View Users Profile Print this message

Author Icon
BrianG
Apprentice (20-49)

Posts: 24
Joined: 09/08/2016

Originally posted by: MartySpeare

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.
 05/04/2018 01:30 AM
User is offline View Users Profile Print this message

Author Icon
MatsBorg
Apprentice (20-49)

Posts: 31
Joined: 05/29/2012

- 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
Statistics
18258 users are registered to the AutoMate Discussion forum.
There are currently 0 users logged in.
The most users ever online was 5551 on 01/08/2018 at 11:11 AM.
There are currently 612 guests browsing this forum, which makes a total of 612 users using this forum.

FuseTalk Enterprise Edition v4.0 - © 1999-2019 FuseTalk Inc. All rights reserved.

Sitemap Network Automation Software Blog