• Hi

    I want to setup the cronjob for preloading every 24 hours at 1 am but I need your help. For other cronjobs on my server (my system is running on Centos Web Panel and so far I had only cronjobs for *.sh or *.php-commands running) I just define the time and the path to the command. Full custom cron jobs are simply configured like
    * 1 * * * command

    I understood that the cronjob is CURL. But how should I implement the command for the cronjob I copied from the advanced plugin settings that way?
    https://myserver.com?swcfpc=1&swcfpc-preloader=1&swcfpc-sec-key=xyzTHISISMYKEYzyx?

    Thanks, Filz51

    • This topic was modified 3 years, 1 month ago by filz51.
    • This topic was modified 3 years, 1 month ago by filz51.
Viewing 1 replies (of 1 total)
  • Plugin Contributor iSaumya

    (@isaumya)

    Well, you need to ask in the centos web panel community about this. But in cPanel you can add a php -q flag to enable PHP execution on CRON jobs.

    Like :
    * 1 * * * php -q https://myserver.com?swcfpc=1&swcfpc-preloader=1&swcfpc-sec-key=xyzTHISISMYKEYzyx

    HBHut I am not sure if centos web panel also accept that.

    Otherwise instead of setting up via web panel, you can also set up via the command line if you have the server command line access.

    • This reply was modified 3 years, 1 month ago by iSaumya.
Viewing 1 replies (of 1 total)
  • The topic ‘setup preload-cronjob’ is closed to new replies.