Forums / Customization from the Admin / Admin auto login for a cron job

Admin auto login for a cron job

Started by gigo on 26 Nov 2008, 9:49 PM · Views: 20,264

Results 21 to 21 of 21
9 Aug 2012, 6:39 AM
#21
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,512
Plugin Contributions:
176

Admin auto login for a cron job

If you're using v1.5.x+ or have v1.3.9 and have an Admin Profiles addon installed, you'll need to create the user account and grant it some permissions.
Similarly, if you're using v1.5.0 you will need to create the user account, which involves assigning it a profile, then take the system-assigned user number and use that number when specifying the CRON_ADMIN_USER_ID definition.

Otherwise the script will be prompted to login.

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.