0
votes

I am trying to create a cron job in my shared hosting service. I have write the command:

0 0  * * * /usr/bin/php -q /home/bdacademichelp/public_html/medcino/testSchedule.php

But I am getting the "command not found" message in my E-mail. what is the wrong with this command?

1
What happens when you run /usr/bin/php -q /home/bdacademichelp/public_html/medcino/testSchedule.php directly on the command line?Chris
What command does it say isn't found?Barmar
"what are the reasons? Fred" eatspopcorn.jpgbassxzero
^ pretty much..Funk Forty Niner
This is a never ending cycle, shall we just admit that it's a CLI fault due to us briefly reading 'command not found' and migrate it to our good friends at superuser ? If it comes back. Well apologise for our oversight and give them a basket of mini muffins? -message will trDaryl Gill

1 Answers

0
votes

Please, try to run in the terminal this part of your command:

/usr/bin/php -q /home/bdacademichelp/public_html/medcino/testSchedule.php

¿The cron job is running? what happened?