FILTER BY TAG

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

  1. Open a Linux or Mac terminal.
  2. Enter
    crontab-e
    to enter editor mode.
  3. Enter the command to set the timing for the cron job.
  4. For example, for 15-minute intervals:
    15 * * * * curl
    https://www.prestashop_8.2.2.com/module/cybersourceofficial/paymentReport
  5. Close the editor.
  6. Enter
    crontab -l
    to check the scheduled cron job.

Windows Task Scheduler

  1. Open Task Scheduler and click
    Create Task
    .
  2. Select the General tab and enter a name.
  3. Select the Triggers tab and click
    New
    .
  4. Enter the desired timings and click
    OK
    .
  5. Select the Actions tab in the Create Task pane and click
    New
    .
  6. Enter this information into these fields and then click
    OK
    .
    • Action
      :
      Start a program
    • Program/script
      :
      curl
    • Add arguments (optional)
      : Enter the reporting URL.