SoftTree Technologies SoftTree Technologies
Technical Support Forums
RegisterSearchFAQMemberlistUsergroupsLog in
restarting jobs

 
Reply to topic    SoftTree Technologies Forum Index » 24x7 Scheduler, Event Server, Automation Suite View previous topic
View next topic
restarting jobs
Author Message
Michael Tuszynski



Joined: 07 May 2004
Posts: 30

Post restarting jobs Reply with quote

I have a job scheduled within the job wizard to restart with a wait time of 300 seconds,
6 retries. Although I get the message 'Will restart job in 300seconds, attempt 1 of 6",
the job does not seems to restart itself (there is no logging to indicate the job has restarted.

Any suggestions (I am using 3.4.19)

Mon Aug 02, 2004 8:42 am View user's profile Send private message
SysOp
Site Admin


Joined: 26 Nov 2006
Posts: 7969

Post Re: restarting jobs Reply with quote

If you run 24x7 as a standalone server, open up the GUI screen and click View/Details menu; navigate to the folder contaning this job. What does it say in the Next Start Time column?

: I have a job scheduled within the job wizard to restart with a wait time of
: 300 seconds,
: 6 retries. Although I get the message 'Will restart job in 300seconds,
: attempt 1 of 6",
: the job does not seems to restart itself (there is no logging to indicate the
: job has restarted.

: Any suggestions (I am using 3.4.19)

Mon Aug 02, 2004 9:21 am View user's profile Send private message
Michael Tuszynski



Joined: 07 May 2004
Posts: 30

Post Re: restarting jobs Reply with quote

The next business day at the original start time.(rather than same day 5 mins later).

: If you run 24x7 as a standalone server, open up the GUI screen and click
: View/Details menu; navigate to the folder contaning this job. What does it
: say in the Next Start Time column?

Mon Aug 02, 2004 10:59 am View user's profile Send private message
SysOp
Site Admin


Joined: 26 Nov 2006
Posts: 7969

Post Re: restarting jobs Reply with quote

What do you mean? Did you copy & paste the right message?

: The next business day at the original start time.(rather than same day 5 mins
: later).

Mon Aug 02, 2004 1:28 pm View user's profile Send private message
Michael Tuszynski



Joined: 07 May 2004
Posts: 30

Post Re: restarting jobs Reply with quote

: What do you mean? Did you copy & paste the right message?

Not sure what you mean by 'copy & paste'.

Here is the scenario:

New Job #1 downloads a file from an FTP site daily to a specific directory.

New Job #1 is set to retry on error 6 times with a wait of 300 in between tries.
New Job #1 is scheduled to run at 8:30am M-F.

8:30am on Monday elapses, and the job fails. The job log in the 24x7 console
states:
"Attempt 1 of 6 to run this job failed, will retry in 300 seconds"

In the view/details pane, the next run time is set to 8:35am Monday.
8:35 elapses, the job fails again but no new status message is in the log, and the
next scheduled run time is then set Tuesday at 8:30. The job did not complete
successfully (verified by manually checking the file), and did not run again.

I am expecting that every 5 mins until 9am in this scenario I see message in the error log that state:
"Attempt 2 of 6 to run this job failed, will retry in 300 seconds"
"Attempt 3 of 6 to run this job failed, will retry in 300 seconds"
"Attempt 4 of 6 to run this job failed, will retry in 300 seconds"
"Attempt 5 of 6 to run this job failed, will retry in 300 seconds"
"Attempt 6 of 6 to run this job failed, will retry in 300 seconds"
"Job failed."

or

"Attempt 2 of 6 to run this job failed, will retry in 300 seconds"
"Attempt 3 of 6 to run this job failed, will retry in 300 seconds"
"Job Success"

when the file becomes available.

Hope this clarifies things.


Mon Aug 02, 2004 1:43 pm View user's profile Send private message
SysOp
Site Admin


Joined: 26 Nov 2006
Posts: 7969

Post Re: restarting jobs Reply with quote

Please check 2 things:
1. The job is not hanging in the job queue or not being blocked by other run away or hanged job.
2. In the job properties if you have "skip late job" option checked the late interval is set to at least 31 minutes (6*5 + 1 extra minute)

: Not sure what you mean by 'copy & paste'.

: Here is the scenario: New Job #1 downloads a file from an FTP site daily to a
: specific directory.

: New Job #1 is set to retry on error 6 times with a wait of 300 in between
: tries.
: New Job #1 is scheduled to run at 8:30am M-F.

: 8:30am on Monday elapses, and the job fails. The job log in the 24x7 console
: states: "Attempt 1 of 6 to run this job failed, will retry in 300
: seconds"

: In the view/details pane, the next run time is set to 8:35am Monday.
: 8:35 elapses, the job fails again but no new status message is in the log,
: and the
: next scheduled run time is then set Tuesday at 8:30. The job did not complete
: successfully (verified by manually checking the file), and did not run again.

: I am expecting that every 5 mins until 9am in this scenario I see message in
: the error log that state: "Attempt 2 of 6 to run this job failed,
: will retry in 300 seconds"
: "Attempt 3 of 6 to run this job failed, will retry in 300 seconds"
: "Attempt 4 of 6 to run this job failed, will retry in 300 seconds"
: "Attempt 5 of 6 to run this job failed, will retry in 300 seconds"
: "Attempt 6 of 6 to run this job failed, will retry in 300 seconds"
: "Job failed."

: or

: "Attempt 2 of 6 to run this job failed, will retry in 300 seconds"
: "Attempt 3 of 6 to run this job failed, will retry in 300 seconds"
: "Job Success"

: when the file becomes available.

: Hope this clarifies things.

Mon Aug 02, 2004 4:34 pm View user's profile Send private message
Michael Tuszynski



Joined: 07 May 2004
Posts: 30

Post Re: restarting jobs Reply with quote

1. Each job is in its own queue, so that rules out hung jobs.
2. I do not have "skip late job" option checked in any of my scripts.

: Please check 2 things: 1. The job is not hanging in the job queue or not
: being blocked by other run away or hanged job.
: 2. In the job properties if you have "skip late job" option checked
: the late interval is set to at least 31 minutes (6*5 + 1 extra minute)

Tue Aug 03, 2004 6:48 am View user's profile Send private message
SysOp
Site Admin


Joined: 26 Nov 2006
Posts: 7969

Post Re: restarting jobs Reply with quote

Please check this job is not set to run detached

: 1. Each job is in its own queue, so that rules out hung jobs.
: 2. I do not have "skip late job" option checked in any of my
: scripts.

Tue Aug 03, 2004 8:42 am View user's profile Send private message
Michael Tuszynski



Joined: 07 May 2004
Posts: 30

Post Re: restarting jobs Reply with quote

Ah, my jobs run detached for the most part. I will uncheck this item. Anything else?

: Please check this job is not set to run detached

Tue Aug 03, 2004 8:48 am View user's profile Send private message
SysOp
Site Admin


Joined: 26 Nov 2006
Posts: 7969

Post Re: restarting jobs Reply with quote

In this version of 24x7 detached and retry options cannot be used together. Support for retries in detached jobs will be added in following versions.

: Ah, my jobs run detached for the most part. I will uncheck this item.
: Anything else?

Tue Aug 03, 2004 9:39 am View user's profile Send private message
Michael Tuszynski



Joined: 07 May 2004
Posts: 30

Post Re: restarting jobs Reply with quote

Looks like without detached checked, the job is restarting properly, however, the
message displayed in the log view does not iterator the retry counter. On the 2nd attemp,
the log message states "Attempt 1 of 6" instead of "2 of 6".

Does this message, displayed in the error log, available via a macro paramter (@V) variable?

: In this version of 24x7 detached and retry options cannot be used together.
: Support for retries in detached jobs will be added in following versions.

Tue Aug 03, 2004 11:19 am View user's profile Send private message
SysOp
Site Admin


Joined: 26 Nov 2006
Posts: 7969

Post Re: restarting jobs Reply with quote

Please click View/Refresh menu or hit the little "refrefh" button above log tab to refresh the job log view.

The message is not currently available via macro paramters.

: Looks like without detached checked, the job is restarting properly, however,
: the
: message displayed in the log view does not iterator the retry counter. On the
: 2nd attemp,
: the log message states "Attempt 1 of 6" instead of "2 of
: 6".

: Does this message, displayed in the error log, available via a macro paramter
: (@V) variable?

Tue Aug 03, 2004 12:25 pm View user's profile Send private message
Michael Tuszynski



Joined: 07 May 2004
Posts: 30

Post Re: restarting jobs Reply with quote

Doesnt help. I am getting multiple entries with:

"Attempt 1 of 6, will retry in 300 seconds"

Its not incrementing the attempt counter.

: Please click View/Refresh menu or hit the little "refrefh" button
: above log tab to refresh the job log view.

: The message is not currently available via macro paramters.

Tue Aug 03, 2004 12:50 pm View user's profile Send private message
Display posts from previous:    
Reply to topic    SoftTree Technologies Forum Index » 24x7 Scheduler, Event Server, Automation Suite All times are GMT - 4 Hours
Page 1 of 1

 
Jump to: 
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


 

 

Powered by phpBB © 2001, 2005 phpBB Group
Design by Freestyle XL / Flowers Online.