Jump to content

[Solved] How can I execute method of a module by cron?


nevuz

Recommended Posts

Hello. I made a module with a function that obtains a list of orders and I saved them in an array, then with 'fopen' and 'fputcsv' I generate the csv. It's working if I access the web but if I use mydomain.com/modules/mymodule/myphpfile.php it doesn't work, neither from cron (php mypathmodules/myphpfile.php).

PS version: 1.7.*

Thank you.

Edited by nevuz (see edit history)
Link to comment
Share on other sites

  • nevuz changed the title to [Solved] How can I execute method of a module by cron?

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...