WordPress File Monitor Plus
[resolved] Leftover files in server when using WPFMP with Cron (3 posts)

  1. Luciano Passuello
    Posted 4 years ago #

    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:

    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?


  2. Luciano Passuello
    Posted 4 years ago #

    [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...)

  3. Scott Cariss
    Plugin Author

    Posted 4 years ago #

    The updated version 1.2 now uses the updated command.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • WordPress File Monitor Plus
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic