On This Page
Appendix
This is additional information about report scheduling for the
Cybersource Official Plugin
Prestashop extension.Report Scheduling
Schedulers for Linux and Mac systems are set up using a Cron Tab. The scheduler for a
Windows system is configured using the Windows Task Scheduler app.
When configuring a schedule for generating a specific report, use this format:
Format:
<shop domain
name>/module/cybersourceofficial/paymentReport
Example:
https://www.prestashop_8.2.2.com/module/cybersourceofficial/paymentReport
Cron Tab Syntax for Mac and Linux Systems
When setting up the reporting schedule on Linux or Mac, use crontab commands to
determine how often and when the report is generated.
The syntax is:
* * * * * [command]
Each asterisk (*) represents one of the timing parameters:
- Minute (0-59)
- Hour (0-23)
- Day of Month (1-31)
- Month (1-12)
- Day of week (0-6) 0 = Sunday
Cron Scheduler Setup
- Open a Linux or Mac terminal.
- Entercrontab-eto enter editor mode.
- Enter the command to set the timing for the cron job.
- For example, for 15-minute intervals:15 * * * * curlhttps://www.prestashop_8.2.2.com/module/cybersourceofficial/paymentReport
- Close the editor.
- Entercrontab -lto check the scheduled cron job.
Windows Task Scheduler
- Open Task Scheduler and clickCreate Task.
- Select the General tab and enter a name.
- Select the Triggers tab and clickNew.
- Enter the desired timings and clickOK.
- Select the Actions tab in the Create Task pane and clickNew.
- Enter this information into these fields and then clickOK.
- Action:Start a program
- Program/script:curl
- Add arguments (optional): Enter the reporting URL.