PHPLIST - insufficient permission to run from command line

swiftecit

Member
Jun 30, 2006
7
0
151
hello all,

I put phplist into crontab to run on certain days of the week. when it runs I get

Error: Sorry, You (username) do not have sufficient permissions to run phplist on commandline

I have been searching and searching and cannot find where/how to fix this.

please help.
 

brianoz

Well-Known Member
Mar 13, 2004
1,146
7
168
Melbourne, Australia
cPanel Access Level
Root Administrator
Does your server run your scripts as yourself or as a generic user like "nobody"? (ie does it have phpsuexec). If it runs as a generic user you'll probably need to call phplist via a web URL which you can do from crontab with a crontab line like "GET http://yoursite.com/phplist/whateveryouneedtorun".