Step 5: Run cron jobs
Learn how to run cron jobs.
Create a SKU
To create a SKU for the Digital River system, run the ImpEx script below to create the cron job at the merchant application after updating the product catalog ID and store ID. The cron job runs every 5 minutes and uploads all approved products that were added or updated within that timeframe.
$siteUid=electronics
$storeUid=electronics
$productCatalog=electronicsProductCatalog
INSERT_UPDATE CreateSKUCronJob;code[unique=true];job(code)[default=createSKUJob];
sessionLanguage(isoCode)[default=en];productCatalog;baseStore(uid)
;$siteUid-CreateSKUCronJob;;;$productCatalog;$storeUid
INSERT_UPDATE Trigger;cronJob(code)[unique=true];cronExpression
;$siteUid-CreateSKUCronJob;0 0/5 * 1/1 * ? *
Create a SKU group job
You can fetch the Digital River SKU groups and store them in SAP Hybris by running the SKUGroupConJob. This cron job will be created against the Digital River API key.
You can later map the SKU groups stored in SAP Hybris to the respective products using the Digital River SKU Group attribute.

Create a fee job
Use the ImpEx script below to create the fee. The cron job runs every 5 minutes and uploads syncs the fee attribues that were added or updated within that timeframe.

Retry fulfillment job
This cron job gets the pending consignment list and creates a Digital River fulfillment.

Last updated