最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

Why?: hundreds of empty files named wp-cron.php?doing_wp_cron.<digit>

programmeradmin2浏览0评论

In the home directory of the nginx user I have hundreds of empty files named wp-cron.php?doing_wp_cron.

So my questions are

  1. why...?
  2. can I delete them...? .
  3. and how do I stop then regenerating?

Thanks

In the home directory of the nginx user I have hundreds of empty files named wp-cron.php?doing_wp_cron.

So my questions are

  1. why...?
  2. can I delete them...? .
  3. and how do I stop then regenerating?

Thanks

Share Improve this question asked Sep 22, 2017 at 12:57 Wayne TheisingerWayne Theisinger 1514 bronze badges
Add a comment  | 

1 Answer 1

Reset to default 2

Ah... worked it out, though normally I rely on the traffic of the blog to hit wordpress' fake cron I did have a daily crontab with wget to make sure site was fresh just before doing an export for an integration... but to stop it downloading the response of the request (in this case an empty file) you need to add the --spider option

31 0 * * * wget -qT 30 --spider http://www.example/wp-cron.php

发布评论

评论列表(0)

  1. 暂无评论