Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Re: Re: Win32 Task Scheduler Monitor

by Courage (Parson)
on Jun 04, 2002 at 16:42 UTC ( #171549=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    D:\>at 20:20 /interactive /every:5 calc
    Added a new job with job ID = 2
    ...
    ==>0
    ==>1/8
    Job 2 is calc
    
  2. or download this
    use strict;
    use Win32::AdminMisc;
    ...
            print join(", ", @DOM);
        }
    }
    
  3. or download this
    D:\Personal\perl\admin\tst>perl -w am.pl
    ==>2/8
    ...
    4Job 3 is calc
    This job will run on the following days of the month:
    4, 18
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://171549]
help
Chatterbox?
[davido]: Using the -i switch causes Perl to rename the input file, read from it, and write to a file using the original file's name. If there's an extension provided, as in -i.bak, it's easy to see where the input file is. Where is the input file temporarily....
[davido]: placed if there is no extension provided to the -i switch?
[davido]: Nevermind, found the answer.
[davido]: If no extension is supplied, and your system supports it, the original file is kept open without a name while the output is redirected to a new file with the original filename. When perl exits, cleanly or not, the original file is unlinked.
[haukex]: doc says "If no extension is supplied, and your system supports it, the original file is kept open without a name ..."

How do I use this? | Other CB clients
Other Users?
Others lurking in the Monastery: (9)
As of 2017-09-22 14:48 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    During the recent solar eclipse, I:









    Results (264 votes). Check out past polls.

    Notices?