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

Admin auto login for a cron job

Views: 20,233

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

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
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.