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 < date.pl 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.