1. Computer problem? Tech Support Guy is completely free -- paid for by advertisers and donations. Click here to join today! If you're new to Tech Support Guy, we highly recommend that you visit our Guide for New Members.

Run scheduled task on last day of month

Discussion in 'Windows XP' started by calvin-c, Apr 10, 2008.

Thread Status:
Not open for further replies.
  1. calvin-c

    calvin-c Banned Thread Starter

    Joined:
    May 17, 2006
    Messages:
    1,098
    There's no obvious way to do this in the Task Scheduler. I ran across a post linking to a 'command line' utility that supposedly supported a 'LastDay' argument, but the link was broken. Another reply in that post said 'LastDay' was equivalent to selecting 'run on the 31st of each month' in GUI, but a different reply said you could only do it by specifying the 28th as that was the only day all months have in common.

    So, is there a way to run a scheduled task on the last day of the month? Thanks.
     
  2. TheOutcaste

    TheOutcaste

    Joined:
    Aug 7, 2007
    Messages:
    9,028
    Use the command line tool schtasks with the LASTDAY parameter.

    Schtasks
    Search the page for Lastday Syntax
    HTH

    Jerry
     
As Seen On
As Seen On...

Welcome to Tech Support Guy!

Are you looking for the solution to your computer problem? Join our site today to ask your question. This site is completely free -- paid for by advertisers and donations.

If you're not already familiar with forums, watch our Welcome Guide to get started.

Join over 733,556 other people just like you!

Thread Status:
Not open for further replies.

Short URL to this thread: https://techguy.org/702417

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice