commandline task schedular

Discussion in 'Application Software' started by Stannieman, Feb 18, 2010.

  1. Stannieman

    Stannieman MDL Guru

    Sep 4, 2009
    2,232
    1,800
    90
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  2. Stannieman

    Stannieman MDL Guru

    Sep 4, 2009
    2,232
    1,800
    90
    #3 Stannieman, Feb 18, 2010
    Last edited: Feb 18, 2010
    (OP)
    Ok thanks!
    Works like a charm and I can even let the tasks run with system permissions, I didn't expect that to be possible.

    But if you i.e. plan a task to run at 14:00 and your pc is off then, will it run the first time your pc is back on again? And will they run when no user is logged on (pc is on but shows logon screen)?
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. FreeStyler

    FreeStyler MDL Guru

    Jun 23, 2007
    3,503
    3,614
    120
    That depends what setting you used, if the task is ran with 'System' permissions, a user doesn't need to be logged in to successfully run the task
    The switches /IT /RU can be used to force a user to be logged on
    What happens if the PC is powered off i do not know...maybe the /RI switch can help here
     
  4. Stannieman

    Stannieman MDL Guru

    Sep 4, 2009
    2,232
    1,800
    90
    ok, thanks Freestyler
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  5. Tr3bg0D

    Tr3bg0D MDL Junior Member

    May 8, 2011
    92
    3
    0
    #6 Tr3bg0D, May 27, 2011
    Last edited: May 28, 2011
    I am trying to find the command line switch to allow a task to run on Battery Power when using schtasks /Create from a CMD Prompt. Can anyone shed some light?