Wrong cron command. cd/usr/bin/php -q /home/lworld/public_html/periodic/cron.php
What command would I please use and how many * * * * *
error msg i
/bin/sh: cd/usr/bin/php: No such file or directory
Wrong cron command. cd/usr/bin/php -q /home/lworld/public_html/periodic/cron.php What command would I please use and how many * * * * * error msg i /bin/sh: cd/usr/bin/php: No such file or directory Jennifer Bogan .. Acc. Dip. Psychology - EMAIL: jennifer.bogan@gmail.com |
You are missing a space after cd https://www.deanbassett.com |
Bless your heart D:) tyvm Jennifer Bogan .. Acc. Dip. Psychology - EMAIL: jennifer.bogan@gmail.com |
Hi D I still get an error Not a directory after putting in cd /usr/local/bin/php -q /home/lworld/public_html/periodic/cron.php /bin/sh: line 0: cd: /usr/bin/php: Not a directory Jennifer Bogan .. Acc. Dip. Psychology - EMAIL: jennifer.bogan@gmail.com |
Opps, that line is not right. Give me a minute, i will get back to you. I have to look mine up. https://www.deanbassett.com |
Ok. try it this way instead. I was not paying attention to that line you posted and things are apparently reversed. The line as dolphin recommends would look like this. /usr/local/bin/php -q /home/lworld/public_html/periodic/cron.php https://www.deanbassett.com |
Is this witch the five * before? But i have mine setup like this and it also works. /usr/local/bin/php -q /home/lworld/public_html/periodic/cron.php But video processing is not working. Kids first |
Is this witch the five * before? But i have mine setup like this and it also works. /usr/local/bin/php -q /home/lworld/public_html/periodic/cron.php But video processing is not working. The 5 * are not to appear as part of the command line Unless of course your looking at the actual cron file itself. https://www.deanbassett.com |
oke I try without them... Kids first |
Hi D I still get an error Not a directory after putting in cd /usr/local/bin/php -q /home/lworld/public_html/periodic/cron.php /bin/sh: line 0: cd: /usr/bin/php: Not a directory im going now to look at what your setting should be after these messages ^ we'll be right back Regards, DosDawg Happy New Year When a GIG is not enough --> Terabyte Dolphin Technical Support - Server Management and Support |
Hi D I still get an error Not a directory after putting in cd /usr/local/bin/php -q /home/lworld/public_html/periodic/cron.php /bin/sh: line 0: cd: /usr/bin/php: Not a directory ok give this one a try; cd /home/lworld/public_html/periodic; /usr/local/bin/php -q cron.php because look at what you have there you are trying to change directory to the path of php rather than change the directory to the path where the file is at that is going to fire the cron job. Happy New Year DosDawg When a GIG is not enough --> Terabyte Dolphin Technical Support - Server Management and Support |
Hi D I still get an error Not a directory after putting in cd /usr/local/bin/php -q /home/lworld/public_html/periodic/cron.php /bin/sh: line 0: cd: /usr/bin/php: Not a directory ok give this one a try; cd /home/lworld/public_html/periodic; /usr/local/bin/php -q cron.php because look at what you have there you are trying to change directory to the path of php rather than change the directory to the path where the file is at that is going to fire the cron job. Happy New Year DosDawg Look up dos. I mentioned that already. LOL. At least she might not miss it. https://www.deanbassett.com |
oke now i could upload and view a small video... but got different big emails with errors. Kids first |
D no emails with cd /home/lworld/public_html/periodic/; /usr/local/bin/php -q cron.php I have been waiting for an email and have it set to ***** I will need to talk to DosDawg about the settings. Thanks for helping but I have to go sleep I been awake too long and I'm exhausted. Jenn Jennifer Bogan .. Acc. Dip. Psychology - EMAIL: jennifer.bogan@gmail.com |
Thanks DosDawg and D I go check that out now, sorry I missed those replied when emailing. Jennifer Bogan .. Acc. Dip. Psychology - EMAIL: jennifer.bogan@gmail.com |
Thanks D DosDawg its working, probably was I just didn't realize if the video uploaded it worked, least I'm not gertting an email a min now..Cheers Jenn Jennifer Bogan .. Acc. Dip. Psychology - EMAIL: jennifer.bogan@gmail.com |