473,748 Members | 3,823 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Scheduled Tasks not running reliably

DFS
I have two nightly scheduled jobs at a client site - one at 2:00am and the
other at 5:00am

Both jobs launch Access 2003, log into the default system workgroup, open a
[different] Access .mdb that collects data, then shuts down.

Except for the scheduled time and file paths, the job settings are
identical. The machine is password-protected, so when each job was created
the password was entered.

The jobs don't start reliably. The 5:00am job runs most nights, but the
2:00am job doesn't run most nights.

Any ideas?

Nov 13 '05 #1
4 5038
DFS wrote:
I have two nightly scheduled jobs at a client site - one at 2:00am and the
other at 5:00am

Both jobs launch Access 2003, log into the default system workgroup, open a
[different] Access .mdb that collects data, then shuts down.

Except for the scheduled time and file paths, the job settings are
identical. The machine is password-protected, so when each job was created
the password was entered.

The jobs don't start reliably. The 5:00am job runs most nights, but the
2:00am job doesn't run most nights.

Any ideas?


Does it even start? Have you done some tests....change the schedule to
a time when you are there. You might want to bypass the collecting of
data part with these new times...you simply want to see if it starts and
runs.

Also, you could either write to a text file or to a table the the steps
to see if it is erroring out. Ex. when the code/form fires write a
line like "Form Opened. " & Now(). Then after initializing something
enter "Init complete " & Now(). Etc. When you come in you can find out
what processes were completed and what processes were not complete. At
least you'll have a place where you can see where the program aborts.
Of course, if you don't see any messages that means the program didn't
even fire.

You might have an event that has an error and with an error routine it
might bypass a whole bunch of stuff...and then the program closes...so
you don't know where the problem is.
Nov 13 '05 #2
DFS
Salad wrote:
DFS wrote:
I have two nightly scheduled jobs at a client site - one at 2:00am
and the other at 5:00am

Both jobs launch Access 2003, log into the default system workgroup,
open a [different] Access .mdb that collects data, then shuts down.

Except for the scheduled time and file paths, the job settings are
identical. The machine is password-protected, so when each job was
created the password was entered.

The jobs don't start reliably. The 5:00am job runs most nights, but
the 2:00am job doesn't run most nights.

Any ideas?

Does it even start? Have you done some tests....change the schedule
to a time when you are there. You might want to bypass the
collecting of data part with these new times...you simply want to see
if it starts and runs.

Also, you could either write to a text file or to a table the the
steps to see if it is erroring out. Ex. when the code/form fires
write a line like "Form Opened. " & Now(). Then after initializing
something enter "Init complete " & Now(). Etc.


I do all those things. I write messages at checkpoints to a text file.

When the job kicks off, it has always run all the way through. The problem
is it won't kick off. I'll sit there at the machine and test it - say at
3:00pm schedule it for 3:01pm and watch it run just fine. Then change the
scheduled time back to 2:00am (reenter the password if asked) and leave.
Next day - job didn't run.

It's very irritating.

Thanks
When you come in you
can find out what processes were completed and what processes were
not complete. At least you'll have a place where you can see where
the program aborts. Of course, if you don't see any messages that
means the program didn't even fire.

You might have an event that has an error and with an error routine it
might bypass a whole bunch of stuff...and then the program closes...so
you don't know where the problem is.


Thanks
Nov 13 '05 #3
Pat
I've had great luck with Schedule Tasks.
A shot in the dark here, but, have you checked the Settings Tab and try to
check the "Wake the computer to run this task" box.

Worth a try, I suppose.
HTH,
Pat
"DFS" <no****@nospam. com> wrote in message
news:10******** *****@corp.supe rnews.com...
Salad wrote:
DFS wrote:
I have two nightly scheduled jobs at a client site - one at 2:00am
and the other at 5:00am

Both jobs launch Access 2003, log into the default system workgroup,
open a [different] Access .mdb that collects data, then shuts down.

Except for the scheduled time and file paths, the job settings are
identical. The machine is password-protected, so when each job was
created the password was entered.

The jobs don't start reliably. The 5:00am job runs most nights, but
the 2:00am job doesn't run most nights.

Any ideas?

Does it even start? Have you done some tests....change the schedule
to a time when you are there. You might want to bypass the
collecting of data part with these new times...you simply want to see
if it starts and runs.

Also, you could either write to a text file or to a table the the
steps to see if it is erroring out. Ex. when the code/form fires
write a line like "Form Opened. " & Now(). Then after initializing
something enter "Init complete " & Now(). Etc.


I do all those things. I write messages at checkpoints to a text file.

When the job kicks off, it has always run all the way through. The

problem is it won't kick off. I'll sit there at the machine and test it - say at
3:00pm schedule it for 3:01pm and watch it run just fine. Then change the
scheduled time back to 2:00am (reenter the password if asked) and leave.
Next day - job didn't run.

It's very irritating.

Thanks
When you come in you
can find out what processes were completed and what processes were
not complete. At least you'll have a place where you can see where
the program aborts. Of course, if you don't see any messages that
means the program didn't even fire.

You might have an event that has an error and with an error routine it
might bypass a whole bunch of stuff...and then the program closes...so
you don't know where the problem is.


Thanks

Nov 13 '05 #4
DFS
Pat wrote:
I've had great luck with Schedule Tasks.
A shot in the dark here, but, have you checked the Settings Tab and
try to check the "Wake the computer to run this task" box.

Worth a try, I suppose.
HTH,
Pat
Pat,

I have tried it, to no avail. As far as I can tell, the computer doesn't
ever go into power hibernation. I'll look at it again, though.

The task ran fine for the first 7 days it was deployed, but no longer. I'll
recreate the task - maybe that's the ticket.

Thanks

"DFS" <no****@nospam. com> wrote in message
news:10******** *****@corp.supe rnews.com...
Salad wrote:
DFS wrote:

I have two nightly scheduled jobs at a client site - one at 2:00am
and the other at 5:00am

Both jobs launch Access 2003, log into the default system
workgroup, open a [different] Access .mdb that collects data, then
shuts down.

Except for the scheduled time and file paths, the job settings are
identical. The machine is password-protected, so when each job was
created the password was entered.

The jobs don't start reliably. The 5:00am job runs most nights,
but the 2:00am job doesn't run most nights.

Any ideas?
Does it even start? Have you done some tests....change the schedule
to a time when you are there. You might want to bypass the
collecting of data part with these new times...you simply want to
see if it starts and runs.

Also, you could either write to a text file or to a table the the
steps to see if it is erroring out. Ex. when the code/form fires
write a line like "Form Opened. " & Now(). Then after initializing
something enter "Init complete " & Now(). Etc.


I do all those things. I write messages at checkpoints to a text
file.

When the job kicks off, it has always run all the way through. The
problem is it won't kick off. I'll sit there at the machine and
test it - say at 3:00pm schedule it for 3:01pm and watch it run just
fine. Then change the scheduled time back to 2:00am (reenter the
password if asked) and leave. Next day - job didn't run.

It's very irritating.

Thanks
When you come in you
can find out what processes were completed and what processes were
not complete. At least you'll have a place where you can see where
the program aborts. Of course, if you don't see any messages that
means the program didn't even fire.

You might have an event that has an error and with an error routine
it might bypass a whole bunch of stuff...and then the program
closes...so you don't know where the problem is.


Thanks

Nov 13 '05 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
8592
by: Greg Bryant | last post by:
I'm doing some work for a company that has an auction site running in coldfusion. They're not real happy with it, and it needs a major overhaul, so I'm looking at redoing it, and while I'm at it, might as well move to PHP (for a variety of reasons - not trying to reopen the PHP -vs- CFM thing again :). Anyway, so I'm looking at this system, and there are no "scheduled tasks" (it's win2kas). How do you write a server app that needs to...
5
4775
by: Bart Simpson | last post by:
Hi, I want to control 'Scheduled Tasks' in Windows 2003 by python program. But I couldn't find any Python module about win32 'Scheduled Tasks'. I could find only Perl module about it. (see http://taskscheduler.sourceforge.net) But, I want to control 'Scheduled Tasks' by python :) Is there any python module about win32 'Scheduled Tasks'?
4
14698
by: Colin Steadman | last post by:
We have a number of scheduled tasks on our IIS server that run daily at some point during the early morning. These tasks run as a specific user that has the correct permissions to perform whatever task (processing SQL so I'm told) I have been asked if I can setup a page within ASP that a user could logon to with their own credentials (this I can do). And once logged on be presented with a list of scheduled tasks which they can then...
6
3180
by: Iain Hosking | last post by:
I am running a SQL Server 2000 installation with several databases. Each database and log is backed-up using a maintenance plan. The scheduled maintance plan for the latest database does not run, but displays no error. There is no entry in the job history. The same thing happens when I try to run the individual jobs from Enterprise Manager. I've checked the database recovery model (full), the location of the backup files (same as the...
6
8250
by: John Bowman | last post by:
Hi, I have a C# app that needs to launch the "Add Scheduled Tasks" wizard found in the control panel "Scheduled Tasks" applet. I realize that this "applet" really just opens the tasks folder, but I need to launch the add tasks wizard inside the folder. Does anyone have any ideas of how to do this? I can't find anything in the MSDN regarding this. All it mentions is the Task Scheduler API and I can't seem to find it in there either. Did...
11
15424
by: Max | last post by:
I'm writing a program that needs to be able to create custom .job files and add them to the scheduled tasks folder. What I'd like to know is, what is the format of a .job file and how do I go about adding in all the data so that the task could run correctly? If that is something not so easy to do, then say I need a certain part of my program to execute on a schedule... How do I go about writing some internal scheduling routine that won't...
4
3241
by: RSH | last post by:
I have an application that creates an Access version of a SQL Server database and then it moves the resulting database to an ftp server for the client to download and run reports against etc. The application is dynamic in nature and requires user input, but the point is that it isn't a one off application. I would like to be able to modify the application to receive the params via the commandline and somehow run automatically off of a set...
3
3442
by: kj7ny | last post by:
How can I access and manipulate Scheduled Tasks in Windows using Python? I have a Windows XP workstation running Python 2.4.4 using the win32all modules to control the windows services on multiple Windows 2003 servers. It works great. However, I also need to remotely collect the settings for the scheduled tasks (on those same Windows 2003 servers) and then manipulate those task settings.
0
1356
by: BD | last post by:
I'm running 8.2 on Windows. I have a situation where several scheduled tasks were created in Task Center, under an ID of a person who is leaving the organization. This person's ID is to be deleted, but I see no way of reassigning the owner of these tasks. And I can't change permissions on the tasks without logging in as that 'owner' ID. Is renaming the ID and resetting the password a viable option here?
0
8991
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9370
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
9247
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
8242
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6796
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
4874
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
3312
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
2782
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2215
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.