Scheduled tasks

  • Thread starter Thread starter Sachin
  • Start date Start date
S

Sachin

Hi,

I have scheduled a job to run at 6AM every day. It runs
fine on all days except fridays and saturdays when it does
not execute. I am unable to find any particular reason why
it should not execute on these 2 days alone. Any help
would be appreciated.

When i checked the log file i found out that on friday and
saturday the task is not triggered at all. No errors were
given.

Thanks
 
Sachin said:
Hi,

I have scheduled a job to run at 6AM every day. It runs
fine on all days except fridays and saturdays when it does
not execute. I am unable to find any particular reason why
it should not execute on these 2 days alone. Any help
would be appreciated.

When i checked the log file i found out that on friday and
saturday the task is not triggered at all. No errors were
given.

Thanks

Perhaps the machine was not running at 6am on Friday and
Saturday? Create another task that runs every 10 minutes,
and get it to invoke this batch file:

@echo off
echo %date% %time% %ComputerName% is running(unwrap line).

Now examine the log file to see if your machine was running
at the scheduled time!
 
Hi,

Thanks for your help but this machine runs 24x7. And i
have checked the event log to see if the machine was
shutdown on these 2 days but it was not.
 
It's a pity you did not follow my suggestion of implementing
the simple heartbeat monitor. Had you done so, and if it had
reported that your machine was up all the time, then I would
immediately have suggested to modify the heartbeat monitor
and use it to run the job that currently fails on Fridays and
Saturdays. This little test would have revealed a lot!

I other words: When you're trouble-shooting then you need
to be flexible. Do not restrict yourself to saying "This is
impossible, this cannot be" but look for alternative solutions,
even though they may seem a little strange at first. Very often
they show you the cause of the problem!
 
Back
Top