This file contains 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
<?php | |
if (!isset($_GET['ILoveMautic'])) { | |
echo 'The secret phrase is wrong.'; | |
die; | |
} | |
$link = "https://$_SERVER[HTTP_HOST]$_SERVER[REQUEST_URI]"; | |
$allowedTasks = array( | |
'cache:clear', |
This file contains 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
<?php | |
/* | |
* @copyright 2014 Mautic Contributors. All rights reserved | |
* @author Mautic | |
* | |
* @link http://mautic.org | |
* | |
* @license GNU/GPLv3 http://www.gnu.org/licenses/gpl-3.0.html | |
*/ |
This file contains 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
#!/bin/bash | |
# Set the working directory to the script's directory | |
cd "$(dirname "$0")" | |
# Variables for the script | |
phpinterpreter="php -d memory_limit=1G" | |
pathtoconsole="../code/bin/console" | |
lockfile="/tmp/cronjob.lock" |
This file contains 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
#!/bin/bash | |
MYSELF_PID=$$ | |
# Set the working directory to the directory of the script | |
cd "$(dirname "$0")" | |
# Variables for the script | |
phpinterpreter="php8.2 -d memory_limit=1G" | |
pathtoconsole="./WEBROOT/bin/console" | |
lockfile="./WEBROOT/?docroot?/var/tmp/cronjob.lock" |