Last active
December 9, 2022 04:45
-
-
Save prashantsharma/aa14270f6439584396fd3f1e89a4198a to your computer and use it in GitHub Desktop.
Run OLP locally
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/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