1
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

XSERVERでWordPress簡単インストールをしたらエラーメールが来た

Posted at

件名

Cron XXXX@XXXX find XXXX/public_html/wp-content/cache/* -type f -mtime +3 -not -name ‘.php’ -not -name ‘.jpg’ -not -name ‘*.css’ -exec sleep 0.01 ; -print | xargs rm

本文

find: ‘XXXX/public_html/wp-content/cache/*’: そのようなファイルやディレクトリはありません
rm: オペランドがありません
Try ‘rm –help’ for more information.

原因

WordPress簡単インストール時に、キャッシュ自動削除をONにするにしてWordPressをインストールしたため
※初期値はONにするになっているが、OFFにするに変更しておくとよい

解決策

Cron設定からコメントがキャッシュ自動削除となっているCronを探し、削除する

1
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?