Run a separate page

Hi,this is probably a stupid question, but:

I have created a PHP page to run some DB jobs that I run from a cron job.

For some reason I can’t run the actual page (like any other page) I just get a 404.

It was many years ago I did any PHP work, so what am I missing?

If you’d like to make additions to Mautic, you’ll ned to code it in Symfony.
If you want to ‘butcher’ your system, you can look at this plugin, and call your page from the ‘outside’:

You may need to update your htaccess file as it will most likely restricting the files.

  # Except those allowed below.
    <If "%{REQUEST_URI} =~ m#^/(index|index_dev|upgrade/upgrade)\.php#">
        Order allow,deny
        Allow from all
    </If>
1 Like

Hi @tornmarketing , correct, It worked when I tried:
image
Many thanks.

This topic was automatically closed 36 hours after the last reply. New replies are no longer allowed.