Last active
December 9, 2022 04:45
-
-
Save prashantsharma/aa14270f6439584396fd3f1e89a4198a to your computer and use it in GitHub Desktop.
Revisions
-
prashantsharma revised this gist
Dec 9, 2022 . 1 changed file with 1 addition and 0 deletions.There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -37,6 +37,7 @@ exit(0); // cd opt/website // php -f run_olp.php Method - 3 <?php -
prashantsharma revised this gist
Dec 9, 2022 . 1 changed file with 13 additions and 0 deletions.There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -1,4 +1,6 @@ Method - 1 #!/usr/bin/env php <?php require_once './config/cli_bootstrap.php'; @@ -16,6 +18,8 @@ exit(0); // This can be done by modifying bin/dockerized Method - 2 #!/usr/bin/env php <?php require_once './config/cli_bootstrap.php'; @@ -34,6 +38,15 @@ exit(0); // php -f run_olp.php <?php require_once './config/cli_bootstrap.php'; use OfflineProcessing\Jobs\TrialsStrength; $input = ['task' => 'mssp']; $job = new TrialsStrength($input); $job->execute(); // Call this from the CLI: // bin/dockerized tester php run_olp.php -
prashantsharma revised this gist
Dec 9, 2022 . 1 changed file with 3 additions and 0 deletions.There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -34,3 +34,6 @@ exit(0); // php -f run_olp.php -
prashantsharma revised this gist
Dec 9, 2022 . 1 changed file with 15 additions and 0 deletions.There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -16,6 +16,21 @@ exit(0); // This can be done by modifying bin/dockerized #!/usr/bin/env php <?php require_once './config/cli_bootstrap.php'; $runner = new \OfflineProcessing\Jobs\LicenseUsageReminderEmail([]); if (!$runner->run([])) { exit(1); } exit(0); // Execute below command from the dashweb container // docker-compose exec dashweb bash // cd opt/website // php -f run_olp.php -
prashantsharma revised this gist
Dec 9, 2022 . 1 changed file with 3 additions and 0 deletions.There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -16,3 +16,6 @@ exit(0); // This can be done by modifying bin/dockerized -
prashantsharma renamed this gist
Dec 9, 2022 . 1 changed file with 0 additions and 0 deletions.There are no files selected for viewing
File renamed without changes. -
prashantsharma revised this gist
Dec 9, 2022 . 1 changed file with 3 additions and 1 deletion.There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -13,4 +13,6 @@ exit(0); // 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 -
prashantsharma revised this gist
Dec 9, 2022 . 1 changed file with 16 additions and 1 deletion.There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -1 +1,16 @@ #!/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 -
prashantsharma created this gist
Dec 9, 2022 .There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1 @@