Enable cron via WEB

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • enricorossa
    Senior Member
    • Jul 2018
    • 125

    Enable cron via WEB


    hello, unfortunately since I updated to the latest version the cron is disabled from the web and I don't have access to the cli and I can't set the cron from the domain control panel, how can I modify expo to run cron from the web?
    Attached Files
  • Kharg
    Senior Member
    • Jun 2021
    • 410

    #2
    Hello,

    This topic may help you https://forum.espocrm.com/forum/deve...810-cron-error

    Comment

    • item
      Active Community Member
      • Mar 2017
      • 1476

      #3
      Hello,
      no sure but in >= v7, many security ehancement so .. access direct to cron.php is i think not possible.

      try : https://demo.espocrm.com/cron.php. result error 404.

      cron is essential for a crm and must better "only" run in cli for many reason.
      If you could give the project a star on GitHub. EspoCrm believe our work truly deserves more recognition. Thanks.​

      Comment

      • enricorossa
        Senior Member
        • Jul 2018
        • 125

        #4

        hello, I am aware of the security issue but unfortunately I cannot access the cli and I cannot configure it from the control panel of the domain, I can only configure scheduled activities on internet addresses.

        I just need to figure out how to remove the limitation in the htaccess file

        Comment

        • enricorossa
          Senior Member
          • Jul 2018
          • 125

          #5
          i edited the .htaccess file like this
          RewriteRule ^cron.php$ - [L]

          and then the file application / espo / core / application / runnerruner.php commenting the part relating to the cli​

          Comment


          • Kharg
            Kharg commented
            Editing a comment
            And is it working?

          • enricorossa
            enricorossa commented
            Editing a comment
            it seems to work
        Working...