PC Review


Reply
Thread Tools Rate Thread

Can VBA modify Task Schedular tasks in XP

 
 
MikeZz
Guest
Posts: n/a
 
      16th Apr 2010
Hi,
I have a lot of schedualed tasks where I need to be able to quickly adjust
the start time on a regular basis.

I was wondering if there was a way VBA could modify the tasks in task
schedular?

I'd be looking to at least be able to adjust the start time but preferably
also delete and add tasks.

As an alternative, could I have excel run a file that's associated with an
application?
And if I could, how could I run it around the clock so it could do the same
thing as XP Task Schedular?

Thanks,
MikeZz
 
Reply With Quote
 
 
 
 
RB Smissaert
Guest
Posts: n/a
 
      16th Apr 2010
If you get the superb .dll file tskschd.dll, written by Edanmo Morgilllo
this can be done quite easily.
Not sure now where it can be downloaded from.

RBS


"MikeZz" <(E-Mail Removed)> wrote in message
news:51A66FFD-D5A0-4107-B784-(E-Mail Removed)...
> Hi,
> I have a lot of schedualed tasks where I need to be able to quickly adjust
> the start time on a regular basis.
>
> I was wondering if there was a way VBA could modify the tasks in task
> schedular?
>
> I'd be looking to at least be able to adjust the start time but preferably
> also delete and add tasks.
>
> As an alternative, could I have excel run a file that's associated with an
> application?
> And if I could, how could I run it around the clock so it could do the
> same
> thing as XP Task Schedular?
>
> Thanks,
> MikeZz


 
Reply With Quote
 
sali
Guest
Posts: n/a
 
      16th Apr 2010
"MikeZz" <(E-Mail Removed)> je napisao u poruci interesnoj
grupi:51A66FFD-D5A0-4107-B784-(E-Mail Removed)...

> As an alternative, could I have excel run a file that's associated with an
> application?



first, there is cmd line task scheduler command 'at', type at/? at cmd
prompt
next, from excel vba, you may run vbscript, which in turn has ability to run
commands, like 'at'
you just need to compose text for 'at' command, call vbscript to execute
that command
with 'at', you may add, modify and delete scheduled tasks entries

but obviously, there is no need to use excel at all, simply type command at
cmd prompt of you windows


 
Reply With Quote
 
JLatham
Guest
Posts: n/a
 
      16th Apr 2010
I found a copy of tskschd.dll inside of the .zip file that is available
through:
http://www.mvps.org/emorcillo/en/code/vb6/index.shtml
there's a topic on that page:
Using the Task Scheduler
with this link:
http://www.mvps.org/emorcillo/download/vb6/schedule.zip
tskschd.dll is part of that .zip file.

Do you have a link to documentation about using the dll?


"RB Smissaert" wrote:

> If you get the superb .dll file tskschd.dll, written by Edanmo Morgilllo
> this can be done quite easily.
> Not sure now where it can be downloaded from.
>
> RBS
>
>
> "MikeZz" <(E-Mail Removed)> wrote in message
> news:51A66FFD-D5A0-4107-B784-(E-Mail Removed)...
> > Hi,
> > I have a lot of schedualed tasks where I need to be able to quickly adjust
> > the start time on a regular basis.
> >
> > I was wondering if there was a way VBA could modify the tasks in task
> > schedular?
> >
> > I'd be looking to at least be able to adjust the start time but preferably
> > also delete and add tasks.
> >
> > As an alternative, could I have excel run a file that's associated with an
> > application?
> > And if I could, how could I run it around the clock so it could do the
> > same
> > thing as XP Task Schedular?
> >
> > Thanks,
> > MikeZz

>
> .
>

 
Reply With Quote
 
RB Smissaert
Guest
Posts: n/a
 
      16th Apr 2010
> Do you have a link to documentation about using the dll?

Not sure there is any documentation, I had to figure it out by trial and
error.
Let me know if you need some example code and I will post it here.

RBS


"JLatham" <(E-Mail Removed)> wrote in message
news:7D53C027-A1EC-4D6B-98D4-(E-Mail Removed)...
>I found a copy of tskschd.dll inside of the .zip file that is available
> through:
> http://www.mvps.org/emorcillo/en/code/vb6/index.shtml
> there's a topic on that page:
> Using the Task Scheduler
> with this link:
> http://www.mvps.org/emorcillo/download/vb6/schedule.zip
> tskschd.dll is part of that .zip file.
>
> Do you have a link to documentation about using the dll?
>
>
> "RB Smissaert" wrote:
>
>> If you get the superb .dll file tskschd.dll, written by Edanmo Morgilllo
>> this can be done quite easily.
>> Not sure now where it can be downloaded from.
>>
>> RBS
>>
>>
>> "MikeZz" <(E-Mail Removed)> wrote in message
>> news:51A66FFD-D5A0-4107-B784-(E-Mail Removed)...
>> > Hi,
>> > I have a lot of schedualed tasks where I need to be able to quickly
>> > adjust
>> > the start time on a regular basis.
>> >
>> > I was wondering if there was a way VBA could modify the tasks in task
>> > schedular?
>> >
>> > I'd be looking to at least be able to adjust the start time but
>> > preferably
>> > also delete and add tasks.
>> >
>> > As an alternative, could I have excel run a file that's associated with
>> > an
>> > application?
>> > And if I could, how could I run it around the clock so it could do the
>> > same
>> > thing as XP Task Schedular?
>> >
>> > Thanks,
>> > MikeZz

>>
>> .
>>


 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Auto entry of Tasks in Windows Task Schedular using Vbscript...? oc9ine Windows XP General 1 18th May 2008 11:49 AM
Task Schedular danishau2001@gmail.com Windows XP General 3 26th Jan 2007 10:36 AM
Task Pad: Getting error when trying to modify existing tasks =?Utf-8?B?TVM=?= Microsoft Outlook Discussion 0 7th Sep 2004 06:27 PM
task schedular =?Utf-8?B?am9jaw==?= Windows XP General 7 1st Mar 2004 06:33 AM
Re: Task Schedular Jerold Schulman Microsoft Windows 2000 Advanced Server 0 10th Oct 2003 12:52 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 11:27 PM.