TRUSTINWEB Posted March 22, 2011 Share Posted March 22, 2011 I am trying to do two cron jobs: I have a program that is set to do a cron job every 15mins to check for imported list staged in the que. But I keep getting an error message:?? sh: line 1: /home/username/sitename.com/8/crons/processimports.php: Permission denied sh: line 2: : command not found this is what I have: /usr/local/php5/bin/php -q /home/username/sitename.com/8/crons/processimports.php > /dev/null The second one is a scheduler to send out an email, but I get this error message: sh: line 1: /home/username/sitename.com/8/crons/scheduler.php: Permission denied from this out put: /usr/local/php5/bin/php -q /home/username/sitename.com/8/crons/scheduler.php > /dev/null Please Help?? Thanks, TRUSTINWEB Link to comment https://forums.phpfreaks.com/topic/231368-cron-help/ Share on other sites More sharing options...
MrXHellboy Posted March 22, 2011 Share Posted March 22, 2011 I see nobody has replied yet, so i will take a shot... Are you using Windows or Unix variants or Linux ? Probably it has to do something with the rights.. Check and alter the permissions Link to comment https://forums.phpfreaks.com/topic/231368-cron-help/#findComment-1190759 Share on other sites More sharing options...
TRUSTINWEB Posted March 22, 2011 Author Share Posted March 22, 2011 Using Unix platform.... Thanks- Link to comment https://forums.phpfreaks.com/topic/231368-cron-help/#findComment-1190777 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.