Re: running scripts on a schedule

"Kevin Whipp" <[email protected]>
Newsgroups gmane.comp.windows.autoit.user
Message-ID <[email protected]>
You do have to use the browse button to locate the script that you want to schedule.  Also, I have always had to assign a valid user name and password when I schedule a script.  Furthermore, when I schedule scripts on a server that will access network resources, I have had to use the domain administrator's user name and password.

- Kevin
  _____  

From: jimb610 [mailto:[email protected]]
To: [email protected]
Sent: Sun, 21 Jan 2007 21:43:13 -0500
Subject: Re: [AutoIt] running scripts on a schedule

                        
    
          
              

Hi Kevin, Thanks for your response but unfortunately, that's exactly 
  where I'm seeing the problem: inside Windows Task Scheduler...
  
  You see, the first error I get is when Windows Task Scheduler 
  doesn't see the AutoIT folder (it only sees 'AutoIT Window Info'). I 
  know the 'AutoIT3' folder is there, because I can run my script fine 
  at bootup - I can also find it no problem using browse - it's only 
  inside WTS that I run into problems. So I go ahead and use the 
  browse feature of WTS & find the script I want to run. The next 
  error I get is where WTS tells me I must have a User Name & 
  Password. Well, I don't have a UN & PW setup on this machine - could 
  this be causing the trouble? Must I setup a UN & PW in order to use 
  WTS? I've tried to simply assign a UN & PW in WTS, but that doesn't 
  seem to do the trick either. I then proceed to the point where WTS 
  says: "You have sucessfully scheduled the following task: Mbus". I 
  then click next and get this error: "The new task has been created, 
  but may not run because the account information could not be set. 
  The specific error is: 0x800700005 access is denied. Try using the 
  Task page Browse button to locate the application". When I proceed 
  to ignore this error the script never runs. So it seems to me that 
  WTS is not seeing the AutoIT script that I KNOW is there because it 
  runs fine from Windows Startup! Any clue what's going on? 
  
  Once again, many thanks for whatever anyone can do!! 
  
  Kind regards,
  Jim B. in PA
  
  --- In [email protected], "Kevin Whipp" <kwhipp@...> wrote:
  >
  > What you should be using is the task scheduler.  Look for it in 
  your Windows control panel.
  > 
  > - Kevin
  >       _____  
  > 
  >   From: Jodie and Tiger [mailto:sufficientlytwisted@...]
  > To: [email protected]
  > Sent: Sun, 21 Jan 2007 06:32:52 -0500
  > Subject: Re: [AutoIt] running scripts on a schedule
  > 
  >   
  >   
  >   
  >   
  > 
  > Hi Jim. Maybe you've named the task manager program wrong in your 
  script? I looked at the task manager, but it didn't se anything 
  about scheduling. Is there any way to make a script run by using 
  autoit code itself, not by using task manager? Maybe set up a timer 
  or something?
  > 
  > Hugs from Jodie and kisses from Tiger.
  > :)
  > "Belief is the cradle of myth."
  > Stephen King
  > Check out my web site.
  > http://www.asmodean.net/pisces
  > 
  > ----- Original Message ----- 
  > From: jimb610 
  > To: [email protected] 
  > Sent: Saturday, January 20, 2007 5:52 PM
  > Subject: Re: [AutoIt] running scripts on a schedule
  > 
  > I've tried to setup an AutoIT script to run inside task manager 
  but 
  > keep getting an error when I try to set it up. I've even ignored 
  the 
  > task manager error, only the script never runs - ??? Any clue 
  what's 
  > going on? The error is something along the lines of "invalid 
  > program" or something like that. Has anyone else experienced this 
  > and/or can anyone shed some light on what may be going on? Many 
  > thanks in advance for whatever anyone can do! Jim B. in PA
  > 
  > --- In [email protected], "Sensei J. Richard Kirkham 
  B.Sc" 
  > <tutor2000@> wrote:
  > >
  > > You can use the task manager
  > > 
  > > Rick
  > > 
  > > 
  > > 
  > > Martial Arts Ebooks Books DVDs and Videos New Submission 1-20-
  2007 
  > Tai Chi Breathing for Better Health and Mental Strength 
  > > http://kirkhamsebooks.com/MartialArts/index.htm 
  > > 
  > > 
  > > ----- Original Message ----
  > > From: Jodie and Tiger <sufficientlytwisted@>
  > > To: [email protected]
  > > Sent: Saturday, January 20, 2007 8:37:52 AM
  > > Subject: [AutoIt] running scripts on a schedule
  > > 
  > > 
  > > Hi. I want to make a script run every three days. Is there a way 
  > to do this? Thanks.
  > > 
  > > Hugs from Jodie and kisses from Tiger.
  > > :)
  > > "Belief is the cradle of myth."
  > > Stephen King
  > > Check out my web site.
  > > http://www.asmodean.net/pisces
  > > 
  > > 
  > > 
  > > 
  > > [Non-text portions of this message have been removed]
  > > 
  > > 
  > > 
  > > 
  > > Yahoo! Groups Links
  > >
  > 
  > ----------------------------------------------------------
  > 
  > No virus found in this incoming message.
  > Checked by AVG Free Edition.
  > Version: 7.5.432 / Virus Database: 268.17.1/640 - Release Date: 
  1/19/2007 4:46 PM
  > 
  > [Non-text portions of this message have been removed]
  > 
  >        
  >    
  >  
  > 
  > [Non-text portions of this message have been removed]
  >
  
                                                

[Non-text portions of this message have been removed]
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.