• Resolved wa7edsoori

    (@wa7edsoori)


    Hi,

    I have a Cron Job (to send emails through my email marketing plugin) setup inside my hosting that has been working fine for years. I enabled Litespeed cache and that cron has stopped working. I’ve been trying to figure this issue out for days and I can’t. What could possibly be causing this. I’ve tried enabling/disabling every feature and purging caches to isolate the problem but I’m out of ideas/

    I’ve been having a very strange issue and I thought it was because of Wp Rocket but can see that Litespeed is causing the same issue.

    I’ve also tried adding the email marketing plugin JS files in the “exclude from JS” section inside Tuning, and that didn’t work.

    • This topic was modified 3 years ago by wa7edsoori.

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Support qtwrk

    (@qtwrk)

    Hi,

    how did you trigger the cron ?

    Best regards,

    Thread Starter wa7edsoori

    (@wa7edsoori)

    I have a Cron Job setup in my hosting:
    */5 * * * * wget -O /dev/null https://beat-tweaks.com/mailster/13e7feb5a60d8c22f969f2eb33a37afe

    My hosting doesn’t allow special characters so this is how the the code looks like.

    This was working fine, then I installed WP Rocket to try it out, and got a notice that email were not being sent. I’ve tried nabling/disabling every feature, clearing caches etc..

    Also, when I view the output of the Cron I see this

    /dev/null: Scheme missing. --2021-10-27 00:40:01-- https://beat-tweaks.com/mailster/13e7feb5a60d8c22f969f2eb33a37afe Resolving beat-tweaks.com (beat-tweaks.com)...

    and a bunch of other code after that along with some strange CSS lines. I doin’t know if this is an error or what exactly is happening here.

    Plugin Support qtwrk

    (@qtwrk)

    Hi,

    please go to Cache -> Exclude -> do not cache URI , add mailster , then purge all

    after that , access the above URL , make sure you see x-litespeed-cache-control: no-cache in HTTP response header

    Best regards,

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Cron Job Stops Working’ is closed to new replies.