Zen Cart Logo
Forums / Contribution-Writing Guidelines / scheduled daily admin task?

scheduled daily admin task?

Locked

Views: 2,291

Results 1 to 4 of 4
This thread is locked. New replies are disabled.
28 Sep 2010, 7:37 PM
#1
yourguide avatar

yourguide

New Zenner

Join Date:
Apr 2010
Posts:
10
Plugin Contributions:
0

scheduled daily admin task?

I hired a developer to write a customized daily import from a CSV file into ZenCart.
It works flawslessly, but it requires me to log in to the admin of zencart before it will run.
The file is a PHP file inside the admin folder, with certain dependencies inside subfolders from there.... "application_top.php" from the "includes" folder within the admin folder.... then several from an "includes2" which I am assuming he created.
I tried moving all the needed files to a folder other than admin, but I just get a 500 server error then.
Ultimately I want this script to run daily automatically with a scheduled task... but since it requires me to log in each time before it will run, I am not sure how to do that.

I am using a Windows 2008 Server, IIS7.
Anyone have any ideas on how to get this to run automatically without it redirecting me to the login page and requiring authentication?

Thanks.

28 Sep 2010, 11:20 PM
#2
vger avatar

vger

Past Contributor

Join Date:
Nov 2004
Location:
Norfolk, United Kingdom
Posts:
3,189
Plugin Contributions:
0

Re: scheduled daily admin task?

As we exclusively use Linux Servers I'm not even sure if you can run Cron Jobs on Windows Servers.

That would be the natural solution on Linux.

Vger

1 Oct 2010, 11:25 AM
#3
amit001 avatar

amit001

New Zenner

Join Date:
Jul 2008
Location:
India
Posts:
46
Plugin Contributions:
0

Re: scheduled daily admin task?

Could you guide how this is possible with linux.

1 Oct 2010, 2:45 PM
#4
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
177

Re: scheduled daily admin task?

Amit001:

Could you guide how this is possible with linux.
type "cron" into your favorite search engine