Entered Thu, 3 Apr 2003 16:45 by Peter Campbell
Updated Thu, 3 Apr 2003 16:48 Previous
set setup(overnight_script) ""
If you want reports and/or other jobs to be run on an overnight basis you can enter a script here to do this. The overnight script will be run sometime soon after midnight every night - provided the fastbase remote server is running.
This sample script runs the stock cost adjustments report and sends the output via email to pc@acs.co.nz.
You need to take care when creating the output as there will be problems if the parameters are invalid and the fbserver program will generate an error and probably stop functioning.
To send output to a printer use: output::input -output P -printer_output "REPORTS" or similar and make sure there is a printer defined with an output of "REPORTS".
Caution is required when defining the overnight script, consult your FastBase support staff for assistance.