Skip to content

Commit af50722

Browse files
authored
SC
1 parent fe3d285 commit af50722

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

wordpress_install.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -525,7 +525,7 @@ mv "$PHP_POOL_DIR"/www.conf "$PHP_POOL_DIR"/www.conf.backup
525525
restart_webserver
526526

527527
# Force wp-cron.php (updates WooCommerce Services and run Scheluded Tasks)
528-
if [ -f "$WPATH/wp-cron.php" ] && [ -f $WPATH/wp-cli.yml ]
528+
if [ -f "$WPATH/wp-cron.php" ] && [ -f "$WPATH/wp-cli.yml" ]
529529
then
530530
chmod +x "$WPATH/wp-cron.php"
531531
crontab -u www-data -l | { cat; echo "14 */1 * * * wp cron event run --due-now --path='/var/www/html/wordpress' > 2>&1"; } | crontab -u www-data -

0 commit comments

Comments
 (0)