Scheduled cron jobs

You will need to schedule 4 files to run.

master_cron.php every 15 or 10 minutes

invoice_cron.php once per day

updateexp.php once per day

updtransfers.php once per day

The files are located in the tools directory.

In most cases your command will look like this:

*/15 * * * * php -q -f /your/path/to/awbs/tools/master_cron.php

(Substitute your correct path in the above example.)

This would run the master_cron.php file every 15 minutes.

Another example:

10 5 * * * php -q -f /your/path/to/awbs/tools/invoice_cron.php

This would run invoice_cron.php file each day at 5:10am.

I go on Scheduled Cron Jobs and I create a cron.
Have I to insert php in the command field and -q -f /your/path/to/awbs/tools/invoice_cron.php in the imput to command field?

Sorry if you think this question is silly :frowning: Thank you very much<br><br>Post edited by: Maurizio1230, at: 2008/06/03 08:03

if you think that question is silly, wait till you hear my answer
lol no just kidding.

according to their examples this would be the case yes.
At least I would do it like that and see if it works.

Have I to insert php in the command field and -q -f /your/path/to/awbs/tools/invoice_cron.php in the imput to command field?

No. "Input to command" is something to be piped into the command…your command is the whole thing. e.g.:

Command: php -q -f /your/path/to/awbs/tools/master_cron.php

And the input field should be empty, as there is nothing to pipe into the command. The input field is usually used for email text or some other bunch of text to inject into a particular command.

See the Webmin docs:

http://doxfer.webmin.com/Webmin/ScheduledCommands