Skip to content

Commit

Permalink
SC
Browse files Browse the repository at this point in the history
  • Loading branch information
enoch85 authored Oct 1, 2024
1 parent fe3d285 commit af50722
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion wordpress_install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -525,7 +525,7 @@ mv "$PHP_POOL_DIR"/www.conf "$PHP_POOL_DIR"/www.conf.backup
restart_webserver

# Force wp-cron.php (updates WooCommerce Services and run Scheluded Tasks)
if [ -f "$WPATH/wp-cron.php" ] && [ -f $WPATH/wp-cli.yml ]
if [ -f "$WPATH/wp-cron.php" ] && [ -f "$WPATH/wp-cli.yml" ]
then
chmod +x "$WPATH/wp-cron.php"
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 -
Expand Down

0 comments on commit af50722

Please sign in to comment.