Smart questions
Smart answers
Smart people
INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Member Login

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips now!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

Join Tek-Tips
*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

LINK TO THIS FORUM!

Add Stickiness To Your Site By Linking To This Professionally Managed Technical Forum.
Just copy and paste the
code below into your site.

Partner With Us!

"Best Of Breed" Forums Add Stickiness To Your Site
Partner Button
(Download This Button Today!)

Feedback

"...I think the forum is a great idea, especially for those of us in consulting engineering. Keep up the good work!..."

Geography

Where in the world do Tek-Tips members come from?
Gwena (Programmer)
19 Nov 06 10:23
Hi Guys,
I hope it's the right forum...
I'm trying to right a VBScript in order to create Tasks in Scheduled Tasks.
My problem is that I can't create a repeated Task meaning Repeat every 20 minute for example.
Any suggestions?
Thanx
bborissov (Programmer)
19 Nov 06 10:54
Check:
http://www.activexperts.com/activmonitor/windowsmanagement/adminscripts/taskscheduling/

Borislav Borissov
VFP9 SP1, SQL Server 2000/2005.
MVP VFP

Gwena (Programmer)
19 Nov 06 11:27
Borislav Borissov,
The example you referred to is repeat every day. What I need is Repeat every X Minutes
strongm (MIS)
19 Nov 06 11:56
The task scheduler, which is what WMI accesses, cannot repeat tasks more regularly than once per day
bborissov (Programmer)
19 Nov 06 11:59
You can't. Even with Task scheduler you could create a Task which can be repeated daily.
Why not put a timer of some kind in your application and put this application in StartUp?

Borislav Borissov
VFP9 SP1, SQL Server 2000/2005.
MVP VFP

Gwena (Programmer)
19 Nov 06 12:08
"Even with Task scheduler you could create a Task which can be repeated daily. " ...
Actually  Task scheduler Can create Repeat Task every X minutes if you use the "Advanced" button.
The reason I'm not writing my own Application is that I don't want to be responsible for running the Jobs
bborissov (Programmer)
19 Nov 06 12:39
Check thread713-356060 to see if you can find any help there.

Borislav Borissov
VFP9 SP1, SQL Server 2000/2005.
MVP VFP

Gwena (Programmer)
19 Nov 06 12:47
Thanks
I give it a go
strongm (MIS)
19 Nov 06 13:16
Yes, the Windows Task Scheduler can indeed repeat jobs every X minutes. However, the task scheduler that WMI accesses (which is effectively the older AT command) cannot.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members!

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close