Skip to content

Instantly share code, notes, and snippets.

@prashantsharma
Last active December 9, 2022 04:45
Show Gist options
  • Save prashantsharma/aa14270f6439584396fd3f1e89a4198a to your computer and use it in GitHub Desktop.
Save prashantsharma/aa14270f6439584396fd3f1e89a4198a to your computer and use it in GitHub Desktop.
Run OLP locally
#!/usr/bin/env php
<?php
require_once './config/cli_bootstrap.php';
$runner = new \OfflineProcessing\Jobs\LicenseUsageReminderEmail([]);
$runner->run([]);
exit(0);
// Execute below command on terminal at website root
// bin/dockerized test php run_olp.php
// Note - As you are running this command outside container, you need to pass the DEV_EMAIL environment variable to docker compose
// This can be done by modifying bin/dockerized
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment