473,396 Members | 2,121 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

Is there python module about win32 'Scheduled Tasks' ?

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'?
Or, is there another solution?

Thanks!

--
Y.H. Rhiu
Jul 18 '05 #1
5 4752

"Bart Simpson" <bb***@netian.com> wrote in message
news:10**************************@posting.google.c om...
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'?
Or, is there another solution?
Possibility one - have you tried Google?

Possibility two - convert the Perl module - assuming it works.

John Roth
Thanks!

--
Y.H. Rhiu

Jul 18 '05 #2
"John Roth" <ne********@jhrothjr.com> wrote in message news:<vo************@news.supernews.com>...
"Bart Simpson" <bb***@netian.com> wrote in message
news:10**************************@posting.google.c om...
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'?
Or, is there another solution?


Possibility one - have you tried Google?


Yes, I searched google and some python communities for last several days.

But I couldn't find about it.
Possibility two - convert the Perl module - assuming it works.
I'm glad to hear that.

May I get some hints about converting the Perl module to Python?

http://taskscheduler.sourceforge.net/taskscheduler.html

Thanks!

--

Y.H. Rhiu
John Roth

Thanks!

--
Y.H. Rhiu

Jul 18 '05 #3
I've got a small module to interface with the windows Task Scheduler.
Never tried it with 2003 yet, but it's been tested with
Windows 2000 and WinNT. The only binary I've got right now is for
Python 2.2, but I can recompile it with 2.3 if need be.
Email me if you're interested.
Roger

"Bart Simpson" <bb***@netian.com> wrote in message
news:10**************************@posting.google.c om...
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'?
Or, is there another solution?

Thanks!

--
Y.H. Rhiu

Jul 18 '05 #4

"Bart Simpson" <bb***@netian.com> wrote in message
news:10**************************@posting.google.c om...
"John Roth" <ne********@jhrothjr.com> wrote in message news:<vo************@news.supernews.com>...
"Bart Simpson" <bb***@netian.com> wrote in message
news:10**************************@posting.google.c om...
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'?
Or, is there another solution?


Possibility one - have you tried Google?


Yes, I searched google and some python communities for last several days.

But I couldn't find about it.
Possibility two - convert the Perl module - assuming it works.


I'm glad to hear that.

May I get some hints about converting the Perl module to Python?

http://taskscheduler.sourceforge.net/taskscheduler.html


The biggest thing I'd look for is what it's doing to Windows
to interface. Then simply do the same thing in Python.

John Roth


Thanks!

--

Y.H. Rhiu
John Roth

Thanks!

--
Y.H. Rhiu

Jul 18 '05 #5
bb***@netian.com (Bart Simpson) wrote in message news:<10**************************@posting.google. com>...
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'?
Or, is there another solution?

Thanks!


Both XP and 2003 include a cli program called 'schtasks.exe'. If
you're doing some limited tasks and not creating a whole new interface
to scheduled tasks, it's probably easiest to use os.popen to execute
schtasks commands. "schtasks /?" should provide documentation for
you.

The "at scheduler" can be accessed via WMI.
Jul 18 '05 #6

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

Similar topics

31
by: surfunbear | last post by:
I've read some posts on Perl versus Python and studied a bit of my Python book. I'm a software engineer, familiar with C++ objected oriented development, but have been using Perl because it is...
68
by: Lad | last post by:
Is anyone capable of providing Python advantages over PHP if there are any? Cheers, L.
6
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,...
2
by: tonytony24 | last post by:
Hi All: I was wondering if there's a simple way to call a MS Access Module through either Command Prompt MS Script any other way... Thanks for the response.
0
by: Kurt B. Kaiser | last post by:
Patch / Bug Summary ___________________ Patches : 349 open ( +7) / 3737 closed (+25) / 4086 total (+32) Bugs : 939 open (-12) / 6648 closed (+60) / 7587 total (+48) RFE : 249 open...
0
by: Paulson | last post by:
Dear Freinds I want to make a program that acts as a reminder for the users.I need to open up the Scheduled task wizard programmatically.If you type Tasks in the run command the Tasks...
0
by: Kirill Simonov | last post by:
======================== Announcing PyYAML-3.06 ======================== A new bug fix release of PyYAML is now available: http://pyyaml.org/wiki/PyYAML Changes
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
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,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
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...
0
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...
0
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,...

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.