Please note that you can subscribe to the individual forums. A subscription for news only covers the news.
New jobs sometimes get issued twice
Hello. I am running version 4.0 of the program, and have been working on my script for over a year now. I've been learning script writing from scratch by trail and error. It seems that when using my script, when the program issues a new job, it sometimes issues that same job twice. It's not a constant thing. Sometimes it happens, and sometimes it doesn't. I started to wonder if changing a job from happening on a set day of the week (Example: run=tuesday), to having it issued by Interval (Example: Interval=5,7) would make a difference. It seems to have had no effect on the problem. This strange glitch does not seem to happen to jobs that are issued daily (Example: run=daily). I can find no cause that I'm aware of that would sometimes have a job is issued twice, and other times just once. I must have done something funny in my script at some point over time. I have gone over it looking for possible issues, but so far have found nothing. I was wondering if anyone had any ideas about what could cause such an issue, so I can go back and see if your idea applies to my script.
P.S. - This "doubled job" would have the same exact due date and time as its mate.
Just a thought.
If you have two jobs with the same title, they would appear as the same job on the list.
Thanks for your response. These duplicate jobs are not two separate jobs with the same title. The job, and it's unwanted twin, are in fact the same job. Over my time learning how to create scripts, I would copy and paste portions of other people's scripts, and change components for my own use. I would experiment with these snippets of script in an effort to understand how they work. Sometimes these snippets got deleted if I couldn't make an idea work. I try very hard to keep my script "clean," making sure I don't have any loose, unused code lying around. It's possible though that I missed something, and that's what's causing the problem. If that's the case, I don't know what, or where, this loose code is. After a year and a half of messing with this script it's gotten very long, and it is possible I'm over looking something. If I ever find the cause of the issue I will let you know. If anyone has experienced a similar problem I would be interested in hearing about it, especially if they found a solution. That solution at the very least, could give me an idea about where I need to look in my script.
If you can send me a report that shows the problem, maybe I can help. It must be the report from the time where the jobs were announced.
You can send it to email@example.com.
If you can include the status file (vm3stat), it will be even better. The status file must be from a time where the duplicates are in the assignments list.