in reply to cron and ssh
exec('qtar', "-g $path $file -L FULL -R >>$LOGFILE") or warn "Couldn't exec: $!";
If you do need to modify your environment, add and modify keys of the special %ENV hash, like so:
Those are made-up examples.$ENV{path} .= '/usr/local/myneatprogram/bin'; $ENV{qtar_args} = '-C';
|
|---|