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

Re: perl script in nohup running from crontab

by graff (Chancellor)
on Sep 23, 2011 at 02:53 UTC ( [id://927488]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    # crontab -l
    * * * * * perl /root/nfs_share/SCRIPTS/cron_ncp.pl >>/tmp/cron_ncp.tmp
    +.txt 2>&1
    
  2. or download this
    #!/usr/bin/perl
    
    ...
        exec $cmd;
    }
    printf "ncp_run.tcl is already running as of %s: %s\n", scalar(localti
    +me),  $tmp );
    

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://927488]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others musing on the Monastery: (1)
As of 2024-04-18 23:28 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found