Windows 10: how to run a cmdline program at a certain time hourly - daily, etc...

Discus and support how to run a cmdline program at a certain time hourly - daily, etc... in Windows 10 Support to solve the problem; I have a program from here I want to run at a certain time few times a day. How can this be done? Needs to include commandline parameters. zap2xml... Discussion in 'Windows 10 Support' started by sdowney717, Nov 9, 2017.

  1. how to run a cmdline program at a certain time hourly - daily, etc...


    I have a program from here I want to run at a certain time few times a day. How can this be done?
    Needs to include commandline parameters.
    zap2xml

    example is this idea.

    zap2xml -z -u L: tvguideuser@email.xx -p password -o myfile.xml

    :)
     
    sdowney717, Nov 9, 2017
    #1

  2. How to automatically lock a PC at a certain time on Windows 10?

    Original Title: lock computer if dog not walked

    I am wondering about if its possible to lock my computer at a certain time and not be able to unlock it until i have walked to a certain destinasjon. I have a little problem where i am too much on the computer and i have a dog that need to get some walking.
    I want to be able to lock my computer at 12 in the morning and not be able to unlock it until i have walked to a certain point. I do carry my phone all the time so using the GPS to see if i have reached the spot is not a problem.
     
    rexthecapt, Nov 9, 2017
    #2
  3. How to automatically lock a PC at a certain time on Windows 10?

    Hello Rex,



    Thanks for the update on the above post.



    Please reply, do you want to lock the PC automatically or manually at 12 in the morning?



    If you are looking for a feature to automatically lock the PC exactly at 12 in the morning,
    Task scheduler is undoubtedly the best way to perform the required task you are looking for.



    To manually lock the computer screen or your user profile, press
    Windows logo + L keys on the keyboard. You can also put the computer to sleep and lock the PC by following the steps below:



    • Press Windows logo key on the keyboard, type Power Options and select the top most search result.
    • Select Change when the computer sleeps option from the left side panel of the window.
    • Set the timing from the drop down bar under Turn off the display and
      Put the computer to sleep options on the window.
    • Click on Save changes.
    • Select Require a password on wakeup from the left side panel of the window and click on
      Change settings that are currently unavailable. Enter the administrator password if prompted.
    • Check the Require a password(recommended) option under
      Password protection on wakeup to enable entering the password every time you wake the PC.


    Write to us with the status of the issue for further assistance. Your reply is most important for us to ensure we assist you accordingly.



    Thank you.
     
    Likhitha V, Nov 9, 2017
    #3
  4. cereberus Win User

    how to run a cmdline program at a certain time hourly - daily, etc...

    Create a batch file and run from task scheduler
     
    cereberus, Nov 9, 2017
    #4
  5. EdTittel Win User
    If you run this Google Search, you'll find lots of discussion, how-to's, and even some YouTube videos on exactly how to do this.
    HTH,
    --Ed--
     
    EdTittel, Nov 9, 2017
    #5
  6. I created a batch file, it works when manually run. Works great.

    Task scheduler, wont run the batch file. I get an error 0x41303 when trying to hit run as a test.
    That error message appears in the line for the task, and the task says it has never run. I do have run whenever selected too.
    example of my batch file
    Code: @ECHO OFFECHO. ECHO This is a batch file ECHO. zap2xml -u username@gmail.com -p password -o myfile.xml CLS EXIT[/quote] I set the task up in task scheduler to run every day, under advanced to run every 6 hours.
    So it just is too hard to use if It does not work?
    Is there an alternative task scheduler program which I can use?
     
    sdowney717, Nov 9, 2017
    #6
  7. EdTittel Win User
    This Google Search turns up lots of promising stuff for that error code. The first item in the list is from HelpDeskGeek, which is usually a good source of information.
    HTH,
    --Ed--
     
    EdTittel, Nov 9, 2017
    #7
  8. how to run a cmdline program at a certain time hourly - daily, etc...

    I found a freeware, incredibly simply scheduler that actually DOES run the batch file, and it works. It generates a new XML file when I test run.
    Only thing is it can only be set to run once per day, I want to run this every 6 hours.
    BUT, at least it functions.

    Freebyte Task Scheduler

    I actually SOLVED this in win7, which should be same as win 10.
    Even though this setting 'start in' says 'optional', you MUST entire the directory, cant leave it blank.
    It runs everytime now I test run this.
     
    sdowney717, Nov 9, 2017
    #8
  9. If you want it to run whenever anyone is logged on, unselect the password, and you have to change the file permission to give everyone full control for the batch file.
     
    sdowney717, Nov 9, 2017
    #9
  10. can the batch be told to run minimized?
    every 6 hours it pops up on the screen, runs till it finishes, then will close.
     
    sdowney717, Apr 4, 2018
    #10
Thema:

how to run a cmdline program at a certain time hourly - daily, etc...

Loading...
  1. how to run a cmdline program at a certain time hourly - daily, etc... - Similar Threads - run cmdline program

  2. Restrict access to programs until certain time

    in Windows 10 Customization
    Restrict access to programs until certain time: Greetings, Is there a way to restrict access to programs for myself, the administrator, until certain time? I want to restrict some programs until afternoon, so I can only be allowed to use programs for college for most of the day....
  3. How to schedule a program opening at certain hour

    in Windows 10 Ask Insider
    How to schedule a program opening at certain hour: So I have this Minecraft server I'm supposed to open everyday at 5pm but sometimes I forget about it. Searching, I found it is possible to create a service to open it automatically at a certain hour, but I've been looking for how to create that service and I couldn't find it....
  4. How to select certain GPUs to control certain programs?

    in Windows 10 Drivers and Hardware
    How to select certain GPUs to control certain programs?: So, I am thinking about building a PC with an RTX 2060 and a GT 1030, and I would like to know if it is possible to assign certain programs to certain GPUs? For example, let's say both of my monitors are connected to the RTX 2060, but I only want games Overwatch, Minecraft,...
  5. Certain programs no longer running automatically at startup?

    in Windows 10 Ask Insider
    Certain programs no longer running automatically at startup?: Has anyone noticed this recently? I have a handful of programs, none of which are related, that no longer run automatically at startup. I'm wondering if a recent update did something. submitted by /u/grizzlypass [link] [comments]...
  6. Cant run certain app program

    in Windows 10 Installation and Upgrade
    Cant run certain app program: I clean my registry. But i 4got to back it up.now, i cant click "file folder>options".Cant use system restore "error 0x80073b01 the resource cache doesnt have loaded mui entry" both in safe mode and normal mode.. And repairing windows failed.please help...
  7. Cannot reset Windows and certain Programs will not run

    in AntiVirus, Firewalls and System Security
    Cannot reset Windows and certain Programs will not run: I've been having issues with my laptop after accidentally downloading,malicious software. Essentially the symptoms seem to point to a rootkit but I cannot be sure. I backed up my data to an external hard rive but when trying to reset or refresh or even just booting in...
  8. Time limit on Pc or allow pc to use for certain hours.

    in User Accounts and Family Safety
    Time limit on Pc or allow pc to use for certain hours.: HI. I am not sure if similar post exist b4. So my question is I want to set time or timer that Windows log out after few hours use of PC or set time like no use of pc more than 10 PM With admin access. I know that If I make standard or Kid account may do it. But I want it in...
  9. UAC blocking certain programs from running at startup

    in User Accounts and Family Safety
    UAC blocking certain programs from running at startup: I'm having issues with any programs which "Run as Administrator" loading at startup. Steam and Rainmeter are the two which are really annoying me just now. If I use the aero tweak tool to completely disable UAC then these programs start without any issues, but as soon as I...
  10. Unable to run any applications, programs, etc.

    in Windows 10 Support
    Unable to run any applications, programs, etc.: So my computer decided to update something on the 16th, and ever since then, I haven't been able to open an applications or run any exe or anything like that. Even things like opening settings doesn't work. Everything I tried just comes back with an error. I have tried...