[Search for users] [Overall Top Noters] [List of all Conferences] [Download this site]

Conference humane::scheduler

Title:SCHEDULER
Notice:Welcome to the Scheduler Conference on node HUMANEril
Moderator:RUMOR::FALEK
Created:Sat Mar 20 1993
Last Modified:Tue Jun 03 1997
Last Successful Update:Fri Jun 06 1997
Number of topics:1240
Total number of notes:5017

1225.0. "Q: NEXT_RUN problem" by NETRIX::"craig.bowers@mail.dec.com" (Craig Bowers) Mon Mar 10 1997 04:04

I have either a question to be answered or a strange result from a pretty 
standard scheduler job.

Alpha 4100 - OpenVMS 6.2-1H3 , Scheduler 2.1B-1

Interval = "M-1 18:00" ! Want it to run on the last SUNDAY of every month
VMS command is commented out.
Days=(SUN)

Okay ... I set the NEXT_RUN to be "30-MAR-1997"

Run the job ... NEXT_RUN is "27-APR-1997"  ... cool

Try that again ... I would expect the NEXT_RUN to be "25-MAY-1997" ...
no ??? its "27-APR-1997" AGAIN.... ok lets fool it ...
Set NEXT_RUN to "25-MAY-1997" and run job ... guess what ..
NEXT_RUN is back to "27-APR-1997" ??? 
Checked EVENT.RPT and its says success !!

What's going on ?
I just want to be able to test a backup scenario without actually running
jobs.

Regards,

Craig

[Posted by WWW Notes gateway]
T.RTitleUserPersonal
Name
DateLines
1225.1read the doc...HLFS00::ERIC_SEric Sonneveld MCS - B.O. IS HollandTue Mar 11 1997 05:2219
>Run the job ... NEXT_RUN is "27-APR-1997"  ... cool
>
>Try that again ... I would expect the NEXT_RUN to be "25-MAY-1997" ...
>no ??? its "27-APR-1997" AGAIN.... ok lets fool it ...
>Set NEXT_RUN to "25-MAY-1997" and run job ... guess what ..
>NEXT_RUN is back to "27-APR-1997" ??? 
>Checked EVENT.RPT and its says success !!
>
>What's going on ?
This is normal expected behaviour.
There is an option to add the new interval based on scheduled interval:
sched mod job /use_next 
this will show what you want to show...

A beter way of testing is:
1) run the job once
2) $ schedule show sched /start=today /end= far-way 'job'

and you get the future run days
1225.2Thank youNETRIX::"craig.bowers@mail.dec.com"Craig Bowers (you're right its in the manual)Sat Mar 15 1997 04:3412
Yup,

You're right it didn't read the manual, well I did but I obviously didn't 
take in that.

Anyway you've made my day 

Thank u again

Craig

[Posted by WWW Notes gateway]