in reply to Using a Perl Script To Execute a Linux Command

Just because you bought a new hammer does not mean it is the right tool for putting in a screw.

I would use a cron script, probably as root (or another user using sudo), and call the various stuff as the appropriate user from a shell script.

To use perl, you would need to handle loading the env files, talking to the sqlplus binary, and other things where there are already examples to do these scripts from a shell.

--MidLifeXis

Replies are listed 'Best First'.
Re^2: Using a Perl Script To Execute a Linux Command
by kgill (Initiate) on Jan 23, 2008 at 16:51 UTC
    Good point. Thank you for your response. I'm looking at doing this with cron right now.

    Thanks again,

    Kris