Photo Gallery Member List Search Calendars FAQ Ticket List Log Out


Scheduled jobs operation PROBLEM

 
Logged in as: Guest
arrSession:exec spGetSession 2,7,53398
 Active Users: There are 0 members and 0 guests.
 Users viewing this topic: none
 

 

 
  
  Printable Version
All Forums >> [General Forum] >> Other Programming/Scripting Languages >> Scheduled jobs operation PROBLEM
  Do you like VisualBasicScript.com? Link to us and help spread the word about our forum. Thanks!
Page: [1]
Login
Message << Older Topic   Newer Topic >>
 Scheduled jobs operation PROBLEM - 11/8/2007 11:11:18 PM   
  vveselinn

 

Posts: 1
Score: 0
Joined: 11/8/2007
Status: offline
Hallo
Sorry for my english

The problem is:
I have many PC's in my Active Directory, a wont to deploy some scheduled tasks to them. But The problem is thath they "Could Not Start" because of the user creditations maby ... when i set the Password and unchek and chek the Box in Scheduled task that ( RUN Only if Loggd On ) ... the tasks begins, but when log off the user account and change whit another one ... the task "Could not start" and i must set again the password .... it is crude method!

The situtaion is:
I deploy the job operation with: job.vbs in User Configuration >> Log On Scripts

the script of job.vbs is:
-----------------------------------------------------------------------------

      
----------------------------------------------------------------------------

This script work's and i see the jobs in Scheduled Task Explorer
And the jobs are:

1) Message.job At 17:45 - (Seys the user to do not ShutDown the PC)
2) ChkDsk.job At 18:20 - (Doing the Chkdsk /f command)
3) Restart.job At 18:21 - (Restart to do ChkDsk)
4) Defrag.job At 19:00 - (Doing the defragment All HDD operation)
5) ShutDown.job At 20:00 - (Shutdown the PC)

----------------------------------------------------------------------------

ChkDsk.job Runs ChkDsk.vbs
The code of ChkDsk.vbs is:

---------------------------------------------------------------------------

      
-------------------------------------------------------------------------------------------

And it is works

--------------------------------------------------------------------------------------------

And the Message.job runs the message.vbs
And the code is:

----------------------------------------------------------------------------------------------

      
------------------------------------------------------------------------------------------------------

And this script work!

-------------------------------------------------------------------------------------

The ather Job Operation are made with Scheduled Task Wizard ... and set correctly ...
Evrtything is Test in my PC and it is works

But when i Change the Account ... Job operation Could not Start ........

Please Help me !!!




Thank you in advance!
Best Regards!

< Message edited by vveselinn -- 11/8/2007 11:31:27 PM >
 
 
Post #: 1
 
 
 
  

If you found our site useful please link to us <a href="http://www.visualbasicscript.com">VisualBasicScript.com</a>.
All Forums >> [General Forum] >> Other Programming/Scripting Languages >> Scheduled jobs operation PROBLEM Page: [1]
Jump to:





New Messages No New Messages
Hot Topic w/ New Messages Hot Topic w/o New Messages
Locked w/ New Messages Locked w/o New Messages
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts