Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister

Re: Execute db connection

by cdarke (Prior)
on May 06, 2009 at 13:51 UTC ( #762278=note: print w/replies, xml ) Need Help??

in reply to Execute db connection

Or use the 'at' command, which is run by crond but does not require crontab - it runs jobs as a one-off. Or use Proc::Background.

Replies are listed 'Best First'.
Re^2: Execute db connection
by sandy1028 (Sexton) on May 07, 2009 at 09:24 UTC
    For this file
    #!/usr/bin/perl $date = `date`; print $date;
    I had set the at command like this at -m 02:21 < But nothing got printed on the screen. How will I know that the job has been executed
      crond doesn't provide screens/terminals to watch
        When I write to a file also it doesnot write.

Log In?

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

How do I use this?Last hourOther CB clients
Other Users?
Others examining the Monastery: (4)
As of 2023-12-09 21:54 GMT
Find Nodes?
    Voting Booth?
    What's your preferred 'use VERSION' for new CPAN modules in 2023?

    Results (38 votes). Check out past polls.