On This Page
Schedule Report Generation
You use a scheduler on a LINUX, MAC, or Windows system to set up how often a specified
report is generated. The scheduler for a LINUX and MAC system are set up using a Cron
Tab. The scheduler for a Windows system is set up using the Windows Task Scheduler app.
When setting up a schedule for generating a specific report, use this format:
- Format:<shop domain name>/module/cybersourceofficial/paymentReport
- Example:http://www.prestashop_1.7.8.6.com/module/cybersourceofficial/paymentReport
Cron Tab Syntax for MAC and LINUX Systems
When setting up the reporting schedule on a LINUX or MAC system, you use
crontab
commands that determine how often and when the report
is generated. The syntax is:
* * * * * [command]
The * represents these timing parameters:
- Minute (0-59)
- Hours (0-23)
- Day of Months (1-31)
- Month (1-12)
- Day of week (0-6), (0-Sunday)
For example, these timing parameters indicate how often a specified report is
generated:
- * * * * * [command]: Runs every minute of every day of every week of every month.
- 0 * * * * [command]: Runs every hour of every day of every week of every month.
- 30 2 * * * [command]: Runs at 2:30 A.M. every day of every week of every month.
- 0 0 2 * * [command]: Runs once a month every month on the second day of the month.
- 0 * * * 1 [command]: Runs every Monday at every hour.
- 0,10,20 * * * * [command]: Runs on 0, 10, 20 minute of every hour of every day of every week of every month.
- 0 5-10 * * * *[command]: Runs every hour between 5 and 10 A.M.
- @reboot [command]: Runs every time after the server reboots.
- */5 * * * * [command]: Runs every five minutes of every day.