• Resolved NeilAtw

    (@neilatw)


    Hi Tomas,
    The plugin is working really well for us, but we had reason to move wp-cron to a system cron job, and noticed the cron job throws these errors regularly:

    sh: $’\r’: command not found
    sh: line 1: body: command not found
    sh: line 2: background:: command not found
    sh: line 2: $’\r’: command not found
    sh: line 3: $’}\r’: command not found
    sh: line 4: $’\r’: command not found

    Our web host investigated and this is what they say:

    It appears that the CRON task is getting stuck on the file
    /var/www/vhosts/courses.safeministry.training/httpdocs/wp-content/plugins/safety-exit/lib/options-data.php

    Although it looks like the script still finishes after failing on this file we recommend resolving the issues with the PHP code that is causing it be stuck.

    The file contains the following:
    <?php
    echo `
    body {
    ? ? ? ? background: black;
    }

    `;
    $sftExtSettings = get_option(‘sftExt_settings’);
    // var_dump($sftExtSettings);
    ~? ? ? ? ? ? ? ? ? ?

    That all mean very little to me, but thought you should be aware of it.

    Neil

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author tcordero

    (@tcordero)

    Thanks for letting me know about this bug! Ill investigate and patch it =) Sorry for the late response, been a busy few months!

    Plugin Author tcordero

    (@tcordero)

    This bug should be resolved with the 1.4.2 update =)

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Cron error’ is closed to new replies.