Operating System - HP-UX
1748150 Members
3682 Online
108758 Solutions
New Discussion юеВ

Re: Like cronjob in Unix, Need to setup a job in Windows PC

 
Ezhilarasan
Occasional Advisor

Like cronjob in Unix, Need to setup a job in Windows PC

Hi,

Like cronjob in Unix, I need to setup a job in Windows PC.
I want a script to run daily or weekly at particular time.
How to setup this ?

Thanks
R.Ezhil
9 REPLIES 9
Stefan Farrelly
Honored Contributor

Re: Like cronjob in Unix, Need to setup a job in Windows PC

Depends what version of windows you are running, but you want to run SCHEDULED TASKS. On Windows2000 this is under;
PROGRAMS -> ACCESSORIES -> SYSTEM TOOLS -> SCHEDULED TASKS.
Im from Palmerston North, New Zealand, but somehow ended up in London...
Robin Wakefield
Honored Contributor

Re: Like cronjob in Unix, Need to setup a job in Windows PC

Hi,

Try:

Programs -> Accessories -> System Tools -> Scheduled Tasks

rgds, Robin
Yogeeraj_1
Honored Contributor

Re: Like cronjob in Unix, Need to setup a job in Windows PC

hi,

On Windows 2000, you can also run windows explorer -> My computer -> Control Panel -> Scheduled Tasks.

Then run "Add Scheduled Task" which appears on the left pane.

the rest is quite simple to configure.

Best Regards
Yogeeraj
No person was ever honoured for what he received. Honour has been the reward for what he gave (clavin coolidge)
Robert-Jan Goossens
Honored Contributor

Re: Like cronjob in Unix, Need to setup a job in Windows PC

Tim Sanko
Trusted Contributor

Re: Like cronjob in Unix, Need to setup a job in Windows PC

Depending on the OS there may be a many solutions. I use the AT command on 2000/NT machines. I also use SFU.

You could also get for ~ $99.00 SFU (a micro-soft - interex product) and treat it like it is a unix box. You would get a workable sendmail,cron, and many other posix type benefits including a shell...

Tim
malay boy
Trusted Contributor

Re: Like cronjob in Unix, Need to setup a job in Windows PC

For NT,
1) On the Task Scheduler Services at the services WIndow from Control Panel.
2) Assuming that you have the executable file,schedule it using AT command.

Good Luck
mB

There are three person in my team-Me ,myself and I.
Kyri Pilavakis
Frequent Advisor

Re: Like cronjob in Unix, Need to setup a job in Windows PC

At dos I sometimes use :

example - at 02:20 /every:M,T,W,Th,F,Sa,Su c:\ky\Reports\afs.bat
Bosses don't undestand..HP does
Balaji N
Honored Contributor

Re: Like cronjob in Unix, Need to setup a job in Windows PC

and what is this question doing the hpunix databases forum?
-balaji
Its Always Important To Know, What People Think Of You. Then, Of Course, You Surprise Them By Giving More.
Fred Martin_1
Valued Contributor

Re: Like cronjob in Unix, Need to setup a job in Windows PC

There's a program available on the web someplace called WinCron, that will do the job for you as well, if the task scheduler is not to your liking.
fmartin@applicatorssales.com