Zen Follower
- Join Date:
- Nov 2004
- Posts:
- 355
- Plugin Contributions:
- 0
HOW: Call custom script in admin from cron without logging in to admin
Greetings All,
I have a php script that pulls in a csv file to update our inventory. The script and csv file are in a sub folder under our admin folder. The script includes application_top.php so it has access to the defines and db. All works great once I'm log into admin and manually call the script. However, I need to create a cron job to do this since we will be updating our inventory at regular intervals.
My questions is how can I call the script from cron without having to log into zen admin?
Thanks! :smile: