cronjobs

hi

i need cronjobs for dolphin 7.0.9

Thanks

Quote · 15 Aug 2012

If you're using a Cpanel setup this will do the trick:

 

/usr/bin/php -q /home/accountname/public_html/periodic/cron.php


If you have Dolphin in a sub-dir then:


/usr/bin/php -q /home/accountname/public_html/subdir/periodic/cron.php

BoonEx Certified Host: Zarconia.net - Fully Supported Shared and Dedicated for Dolphin
Quote · 15 Aug 2012

tancks 

How I know it was working I did not receive any message on the email

Quote · 15 Aug 2012

 

tancks 

How I know it was working I did not receive any message on the email

First, make sure you set an actual email for cron jobs under cPanel.  You should receive an email every night or when uploading a video, for example.

BoonEx Certified Host: Zarconia.net - Fully Supported Shared and Dedicated for Dolphin
Quote · 15 Aug 2012

 

 

tancks 

How I know it was working I did not receive any message on the email

First, make sure you set an actual email for cron jobs under cPanel.  You should receive an email every night or when uploading a video, for example.

 tancks 

I have another question please

i upload video but the cron not work and the video still in processing (pending).

Quote · 15 Aug 2012

How long did you wait after the upload? Larger videos take a while. Also did you set the cronjob up to run once a minute?

BoonEx Certified Host: Zarconia.net - Fully Supported Shared and Dedicated for Dolphin
Quote · 15 Aug 2012

 

How long did you wait after the upload? Larger videos take a while. Also did you set the cronjob up to run once a minute?

 i upload one min video

the cronjob up to run once a minute

Quote · 15 Aug 2012

Did you get an email showing ffmpeg ran?

BoonEx Certified Host: Zarconia.net - Fully Supported Shared and Dedicated for Dolphin
Quote · 15 Aug 2012

 

Did you get an email showing ffmpeg ran?

 no i don't get it

Quote · 15 Aug 2012

Can you verify that ffmpeg is set to 777?

BoonEx Certified Host: Zarconia.net - Fully Supported Shared and Dedicated for Dolphin
Quote · 15 Aug 2012

if your getting cron mail,

also make sure your .h264 is unchecked in your flash video module settings.

your server maybe timing out..

ManOfTeal.COM a Proud UNA site, six years running strong!
Quote · 15 Aug 2012

 

Can you verify that ffmpeg is set to 777?

 it is 777

Quote · 16 Aug 2012

 

if your getting cron mail,

also make sure your .h264 is unchecked in your flash video module settings.

your server maybe timing out..

i don't get cron mail

h264 unchecked

Quote · 16 Aug 2012

i try to run cron manually And it work

but not work auto

Quote · 16 Aug 2012

Are you able to take a screen shot of what the cron setup looks like in Cpanel? Like showing the command and frequency?

BoonEx Certified Host: Zarconia.net - Fully Supported Shared and Dedicated for Dolphin
Quote · 16 Aug 2012

In your cron command your need to verify that this is correct.

/usr/bin/php -q /home/accountname/public_html/subdir/periodic/cron.php



Blue must be proper path to php.

Red must be proper path to your dolphin website.


Open inc/header.inc.php and post here the values found on the lines that start with.

$dir['root']

And

$PHPBIN

Do not post the entire file. Just those two lines. Those two lines will allow us to determine what your cron command should be.

You are most likely not getting any mail because it most likely is not running because the command line is wrong. Also make sure you set an email address in cpanel for the cron.

https://www.deanbassett.com
Quote · 16 Aug 2012

 

In your cron command your need to verify that this is correct.

/usr/bin/php -q /home/accountname/public_html/subdir/periodic/cron.php



Blue must be proper path to php.

Red must be proper path to your dolphin website.


Open inc/header.inc.php and post here the values found on the lines that start with.

$dir['root']

And

$PHPBIN

Do not post the entire file. Just those two lines. Those two lines will allow us to determine what your cron command should be.

You are most likely not getting any mail because it most likely is not running because the command line is wrong. Also make sure you set an email address in cpanel for the cron.

 it not work

and the host sed this

When i try to execute your cron command it show me out of memory related issues. So i think it may be an issue with codes in your cron.php file . So i would recommend you to optimize those codes. For your reference please have a look at following logs 
bash-3.2$ php /home/noustube/public_html/periodic/cron.php
Out of memory

Quote · 16 Aug 2012

Your host is not providing enough memory for php for the cron to run. If the host is refusing to up the memory for php then find another host. Dolphin has certain requirements that must be met.

Your host is telling you to optimize the code which tells me they have absolutely no clue what dolphin is or what the requirements are. Find a dolphin compatible host.

https://www.deanbassett.com
Quote · 16 Aug 2012

 

Your host is not providing enough memory for php for the cron to run. If the host is refusing to up the memory for php then find another host. Dolphin has certain requirements that must be met.

Your host is telling you to optimize the code which tells me they have absolutely no clue what dolphin is or what the requirements are. Find a dolphin compatible host.

 the host is compatible

 

the cron send this email


Warning: popen() has been disabled for security reasons in /home/....../public_html/flash/modules/video/inc/functions.inc.php on line 203

and the popen() is already enabled

Quote · 16 Aug 2012

 

 

Your host is not providing enough memory for php for the cron to run. If the host is refusing to up the memory for php then find another host. Dolphin has certain requirements that must be met.

Your host is telling you to optimize the code which tells me they have absolutely no clue what dolphin is or what the requirements are. Find a dolphin compatible host.

 the host is compatible

 

the cron send this email


Warning: popen() has been disabled for security reasons in /home/....../public_html/flash/modules/video/inc/functions.inc.php on line 203

 

 

Quote · 19 Aug 2012

And how do you know popen is enabled?

Are you aware on some servers the webserver when running php uses a different php.ini configuration file that the command line version of php which cron uses.

The error does not lie. popen is not enabled. At least not for the command line version.





https://www.deanbassett.com
Quote · 19 Aug 2012

 

And how do you know popen is enabled?

Are you aware on some servers the webserver when running php uses a different php.ini configuration file that the command line version of php which cron uses.

The error does not lie. popen is not enabled. At least not for the command line version.





 the host support  says that is enabled

Quote · 20 Aug 2012

Well it is not for the command line version cron uses. So they are wrong. You will need to get them to check it again.

https://www.deanbassett.com
Quote · 20 Aug 2012

 

Well it is not for the command line version cron uses. So they are wrong. You will need to get them to check it again.

 I asked them more than once, and said work

Wاhat tell them exactly please

Thank you

Quote · 20 Aug 2012

They need to check the configuration for the command line version of php (CLI) the one that cron uses.

You may want to consider moving your site to a hosting company that specialises in dolphin. http://www.rootbaron.com/

They know what they are doing.


https://www.deanbassett.com
Quote · 20 Aug 2012

 

They need to check the configuration for the command line version of php (CLI) the one that cron uses.

You may want to consider moving your site to a hosting company that specialises in dolphin. http://www.rootbaron.com/

They know what they are doing.


Shoot, now I need to finish the redesign work. Tongue Out

BoonEx Certified Host: Zarconia.net - Fully Supported Shared and Dedicated for Dolphin
Quote · 20 Aug 2012

 

 

They need to check the configuration for the command line version of php (CLI) the one that cron uses.

You may want to consider moving your site to a hosting company that specialises in dolphin. http://www.rootbaron.com/

They know what they are doing.


Shoot, now I need to finish the redesign work. Tongue Out

I did not see any work being done.

Oh well. Mine is about finished too. Check it out.

EDIT: Ah yea. So there are some changes. Sorry. Did not mean to push you.


https://www.deanbassett.com
Quote · 20 Aug 2012
 
 
Below is the legacy version of the Boonex site, maintained for Dolphin.Pro 7.x support.
The new Dolphin solution is powered by UNA Community Management System.