Setting cronjob for batch video processing
You need to set cronjob for batch mode video processing and video import feature to work.
Recommended settings is
Code:
*/5 * * * * /usr/bin/php -q /path/to/cron.php > /dev/null 2>&1
You need to change following as per your server
/usr/bin/php
This is path to PHP. If php is on different location, you need to change the path as required.
/path/to/cron.php
This is path to cron.php on your web site.
For Cpanel Servers
Code:
*/5 * * * * /usr/bin/php -q /home/USERNAME/public_html/cron.php > /dev/null 2>&1
FOR PLESK
Code:
*/5 * * * * cd /var/www/vhosts/yourdomain.extn/httpdocs; /usr/bin/php -q cron.php > /dev/null 2>&1
Manual mode for processing video
Can it be possible to have both. I really can not make cron job work. Seems to be ok but is obviously wrong!
is this path ok?
/usr/bin/php -q /home/username/public_html/cron.php
or it has to have as an end > /dev/null &
Thanks for some help...
I receive email messages saying
Running process.php
CRON: 1
I do not know if it's ok.
other way for newbies like me a button like it used to be would be fine :-)
Sorry..perhaps this is great and I do not understand it
regards
Re: Manual mode for processing video
Quote:
Originally Posted by danielvg
/usr/bin/php -q /home/username/public_html/cron.php
or it has to have as an end > /dev/null &
/usr/bin/php -q /home/username/public_html/cron.php
Is ok. But better have > /dev/null & at end of it (or you may get a mail everytime when the cron runs, depending on your server setup).
Quote:
Originally Posted by danielvg
I receive email messages saying
Running process.php
CRON: 1
That is fine.
Quote:
Originally Posted by danielvg
other way for newbies like me a button like it used to be would be fine :-)
Sorry..perhaps this is great and I do not understand it
CRONJOB is only needed for video import.
We will see if we can do video import work with and with out cronjob (like it worked in previous version). cron is added to as previous method fail to import/convert videos above 10 MB (depending on server configuration)
I'm doing something wrong
I think the settings are correct
but I can not make the video import
I've tried several times...and videos do not appear at homepage.
Anything I can be doing wrong?
Do u think is a good idea to ask for help at hostonnet?