Jul 25, 2008

Timer Command In Dos - batch file help

Free Web Hosting, No Ads > CONTRIBUTE > Computers > Programming Languages > Others

free web hosting

Timer Command In Dos - batch file help

klusk
I wish to execute a command at regular intervals .....precisely every half an hour....Is there any Dos command which can do it
I havent found any so far...and i've heard there are no timer commands in DOS.
So how should i go about it...i want the batch file to be executed at regular intervals....any external process or application that will invoke it?????

Reply

sonesay
You can use windows task scheduler to schedule task, I'm not sure if you can do it every hour though on the links I've seen so far (only 2) it shows only these few options

CODE
Daily
• Weekly
• Monthly
• One time only
• When my computer starts (before a user logs on)
• When I log on (only after the current user logs on)


Maybe you can investigate further in this if you haven't found an option yet. I cannot check for myself since my PC isn't ready accessible. good luck.

Reply

klusk
QUOTE(sonesay @ Mar 10 2008, 04:45 PM) *
You can use windows task scheduler to schedule task, I'm not sure if you can do it every hour though on the links I've seen so far (only 2) it shows only these few options

CODE
Daily
• Weekly
• Monthly
• One time only
• When my computer starts (before a user logs on)
• When I log on (only after the current user logs on)


Maybe you can investigate further in this if you haven't found an option yet. I cannot check for myself since my PC isn't ready accessible. good luck.


I checked it out but its not the thing for me....I want it to execute my file atleast every hour
i want it as often as it can be..of course not continuously..... but every fifteen min or so...help me..

 

 

 


Reply

rvalkass
What you want to look for is a Windows alternative to the cron system. I don't use Windows, and I don't know exactly what you are looking for, but I am sure that someone will have created some sort of Windows application that will behave like cron. Just run a search and see what comes up:

search:cron windows

Reply

klusk
QUOTE(rvalkass @ Mar 11 2008, 09:45 PM) *
What you want to look for is a Windows alternative to the cron system. I don't use Windows, and I don't know exactly what you are looking for, but I am sure that someone will have created some sort of Windows application that will behave like cron. Just run a search and see what comes up:

search:cron windows


thanx ....got what i wanted....i'll be able to run my file now...it'll also let me schedule programs better than the windows scheduler....

Reply



Got an Opinion! Express your Views! (no registration):-
Add your Reply/ Opinion/ Views/ Comments/ Suggestion/ Questions/ Queries etc.
Posts with decent grammar & English will be accepted and please refrain from profanities.
For asking a Question, We recommend you to sign-up (for free) so that you can track the topic easily.

Nature of your Post*: Opinion/ Reply/ Comments
Question/Query
Feedback to us.
       
Name   Email
Title/Question*

(Maximum characters: 10,000)
You have characters left.
Confirm Code:

Recent Queries:-
  1. use timer for bat file - 0.08 hr back. (1)
  2. dos command timer - 0.79 hr back. (1)
  3. creating batch with timer - 2.60 hr back. (1)
  4. windows scheduled proccess does not run bat file - 3.33 hr back. (1)
  5. dos command run a file - 3.37 hr back. (1)
  6. dos command to open a file in a certain program - 7.02 hr back. (1)
  7. batch timer - 8.06 hr back. (1)
  8. dos batch schedule - 10.14 hr back. (1)
  9. dos batch timer - 10.30 hr back. (1)
  10. batch file to run a video after computer starts - 14.62 hr back. (1)
  11. running batch file as a timer - 18.13 hr back. (1)
  12. dos commands in a batch file - 19.40 hr back. (1)
  13. dos batch command sort files - 20.89 hr back. (1)
  14. create a timer in dos - 22.42 hr back. (1)
Similar Topics

Keywords : timer, command, dos, batch, file

  1. Search For Video Files And Display Them
    Using a batch file in windows (0)
  2. Open Any Unknown File Type With Notepad
    Make Notepad as default file opener (0)
    Open Any Unknown File with Notepad
    ************************************************************************ DISCLAIMER: The
    following contains registry edits. If done improperly can cause strange behaviour, and at worst,
    could even entirely corrupt your Windows Installation, requiring you to reinstall Windows. I cannot
    be held for any damage you may cause to your system as a result of taking any action suggested in
    the following article. ************************************************************************
    Target OS: Windows XP Introduction....
  3. Mp3 Player Sync Batch Job
    (1)
    well at the moment ive got DEL "k:\music\*.mp3" CD c:\music copy *.mp3
    "K:\Music" EXIT C:\ is my computer ( /tongue.gif" style="vertical-align:middle"
    emoid=":P" border="0" alt="tongue.gif" />) and K:\ is my mp3 player. the reason im deleting
    everything first is because if i dont like a song i'll delete it on my computer and i want my
    mp3 not to have it either. im too lazy to go through my mp3 player and find all the bad songs.
    Anyway, this is taking too long so i would need something that would check every song on the mp3
    player to s....
  4. Programming Batch Job
    (6)
    I want to know how to make a batch file that will run a program at a certain time of day, like a
    scheduled thing, but i want it in a batch.. lol.. Easy enough? If you give me permission i can edit
    it to the program i want Lol.. just put it in code tags! Thanks! Topic title must be
    specific. Modified. ....
  5. Batch .bat Files
    not sure which subforum this would go in (4)
    sorry, im not really sure where this would go, as im just starting to hear alot about them and dont
    know what language theyre in. i had just a few questions tho, What language are .bat files written
    in? Is there a way to run them without the black box popping up? what are some of the things that
    you can do with them? i know about ftp stuff, but i havent done much else :S ....
  6. Autoplay.inf And .bat File Question
    can you check my code and information? (2)
    Okay, so here's the situation. For one of my school projects I have decided to do a simple
    cartoon animation. Because of the colour loss that you get when saving in .gif format, I have
    decided to save it as a .wmv file. However our school does not have a media player installed so I
    have decided to hand the project file (.mswmm) in instead and provide instructions on how to play
    the movie from there. Therefore when the cd is inserted I need two files to open (movie.mswmm AND
    instructions.txt). I have googled about autoplay and I have found out that you can only get ....

    1. Looking for timer, command, dos, batch, file

Searching Video's for timer, command, dos, batch, file
advertisement



Timer Command In Dos - batch file help



 

 

 

 

ADD REPLY / Got an Opinion! Remove these ADs! RAPID SEARCH! Free Web Hosting [X]
Express your Opinions, Thoughts or Contribute more info. to help others.
Ask your Doubts & Queries to get answers, So that "Together We can help others!"
Register FREE for AD-FREE forum, Create your own topics, Ask Questions, track topics, setup subscriptions & notifications and Get a Free Website w/ Email and FTP.
500MB Space *No Ads*, CPanel, FTP, PHP, MySQL, EMails - 100% FREE