crontab entry
Rodgers Hemer
r.hemer at w-link.net
Thu Jul 7 10:31:01 PDT 2011
On Jul 6, 2011, at 10:45 PM, calvin covington wrote:
> Running filePro 5.0.11 on Centos 5.5......
>
> I need to run a filepro program from crontab. The following script is
> loaded in crontab to run a specified times.
>
> PFDIR=/usr/appls; export PFDIR
> PFPROG=/usr/appl; export PFPROG
> cd /usr/appls
> chmod 777 ardsupd.gz
> chmod 777 ardsupd
> rm -f ardsupd
> gunzip ardsupd.gz
> tar xvf ardsupd
> /usr/appl/fp/rreport shopxfer -f inupdate -a -u
>
> The script runs at the times specified in cron, but the last line not
> execute.
>
> I can run the script manually and it works fine.
>
> Any ideas?
Calvin:
I always put the filePro command into a script some where on the path and call that script in the crontab command. Cron does not like the arguments that are a part of the normal filePro command.
Rodgers Hemer
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.celestial.com/pipermail/filepro-list/attachments/20110707/b023395b/attachment.html
More information about the Filepro-list
mailing list