2

I have file in app/code/local/MyModule/SalesXLSXExport/model/cron.php

This file is run every day with cron:

0 8,15 * * php -f /var/www/website/app/code/local/MyModule/SalesXLSXExport/model/observer.php >/dev/null 2>&1

and its working, but I would like to modify file and I want to run in browser this file, http://example.com/app/code/local/MyModule/SalesXLSXExport/model/cron.php but I have warning 401 forbidden. How to unblock this temporarily?

Djizeus
  • 4,161
  • 1
  • 24
  • 42

1 Answers1

1

I think this is invalid way to run module's cron.

You can refer following for basic module with cron.

How to setup a cron job in Magento module?

Community
  • 1
  • 1