WordPress.org

Support

Support » Plugins and Hacks » WordPress File Monitor Plus » [Resolved] [Plugin: WordPress File Monitor Plus] Leftover files in server when using WPFMP with Cron

[Resolved] [Plugin: WordPress File Monitor Plus] Leftover files in server when using WPFMP with Cron

  • I’ve been using WPFMP with Cron, and I just noticed that every time it runs, a new file is generated on the server. There are hundreds now. The name of the file is in the following format:
    index.php?sc_wpfmp_scan=1&sc_wpfmp_key=ce4301e4eccb788d9c7fe25e83eea4272db8f504.1

    and the content is simply “Scan Successful”

    I tried tweaking my cron command, adding a “quiet” parameter to wget (-q) and redirecting the cron output to dev/null, like this:
    wget -q “http://domain.com/index.php?sc_wpfmp_scan=1&sc_wpfmp_key=dd4301e4eccb788d9c7fe25e83eea4272db8f504” >/dev/null 2>&1

    …But still no success. I know this is probably not related to the plugin per se, but you’re the first guy that I figured might know the answer.
    Do you have any idea how can I avoid these files from being generated?

    http://wordpress.org/extend/plugins/wordpress-file-monitor-plus/

Viewing 2 replies - 1 through 2 (of 2 total)
  • [in an offline conversation, Scott (the plugin author) solved this one for me, I’m adding the solution here to help other people]:

    Anyway the command you are looking for is this:

    wget -q “http://domain.com/index.php?sc_wpfmp_scan=1&sc_wpfmp_key=dd4301e4eccb788d9c7fe25e83eea4272db8f504”
    -O /dev/null >/dev/null 2>&1

    Thank’s Scott!

    (as a suggestion, you might want to update the suggested cron command in the admin UI to include the the -q and -O flags…)

    Plugin Author Scott Cariss

    @l3rady

    The updated version 1.2 now uses the updated command.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Resolved] [Plugin: WordPress File Monitor Plus] Leftover files in server when using WPFMP with Cron’ is closed to new replies.
Skip to toolbar