• Resolved ofmarconi

    (@ofmarconi)


    Hi

    I’ve tried everything, it always returns this error when running cronjobs in cpanel:

    /usr/local/cpanel/bin/jailshell: swcfpc-preloader=1: command not found
    /usr/local/cpanel/bin/jailshell: swcfpc-sec-key=JnsnPbC01yFQGuAMWrKV: command not found
      % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                     Dload  Upload   Total   Spent    Left  Speed
    
      0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
      0     0    0     0    0     0      0      0 --:--:--  0:00:01 --:--:--     0
      0     0    0     0    0     0      0      0 --:--:--  0:00:02 --:--:--     0<!doctype html>
    <html lang="pt-br" prefix="og: https://ogp.me/ns#">
    <head>
            <meta charset="UTF-8">
            <meta name="viewport" content="width=device-width, initial-scale=1">
            <link rel="profile" href="https://gmpg.org/xfn/11">
            <link rel="alternate" hreflang="pt-br" href="https://site.com" />
    <link rel="alternate" hreflang="en" href="https://site.com/?lang=en" />
    
    <!-- Otimiza??o de mecanismos de pesquisa feita por Rank Math - https://s.rankmath.com/home -->
    <title>Home - SITE</title>
    
     ...

    Do you know how I can run a cron via URL from cPanel?

    the command I was using was this:

    /usr/bin/curl --user-agent cPanel-Cron https://site.com?swcfpc=1&swcfpc-preloader=1&swcfpc-sec-key=JnsnPbC01yFQGuAMWrKV

    • This topic was modified 3 years, 4 months ago by ofmarconi.
    • This topic was modified 3 years, 4 months ago by ofmarconi.
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘I cannot run cron successfully. (cPanel)’ is closed to new replies.