Announcement

Collapse
No announcement yet.

Enable cron via WEB

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • 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

  • #2
    Hello,

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

    Comment


    • #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.

      Comment


      • #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


        • #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...
        X