Cron Job

Do i only have to set up one cron job that it gave me during installation which was -

MAILTO=admin@mysite.com * * * * * cd /home/username/public_html/mysite/periodic; /usr/local/bin/php -q cron.php

If so when do i set this cron job to run??

Regard

Quote · 17 Nov 2009

* * * * * is when the cron runs, this means that the cron will run every second of every day when its called.  I have mine set at this.  Basically whenever someone uploads a video or video comment that must be converted, the cron will run immediately and convert the video.

Quote · 17 Nov 2009

Thanks is that the only cron job i need to set, as im trying to migrate profiles and its says in progress and has done for some time now and was just checking i set the cron job correctly

Quote · 17 Nov 2009

Ya thats the only cron job you need to setup.  If you look at the cron.php within periodic folder you see that it runs all commands in the site.

Quote · 17 Nov 2009

what could be the reason why nothing is migrating???

Quote · 17 Nov 2009

Not sure, I have no experience in that.

Quote · 17 Nov 2009

Try setting the command to your cron job like this instead:

/usr/local/bin/php -q /home/username/public_html/mysite/periodic.cron.php

Instead of this:

cd /home/username/public_html/mysite/periodic; /usr/local/bin/php -q cron.php

Nothing to see here
Quote · 17 Nov 2009

Thanks but still having the same problem, reinstalled the module and tried again still the same?

Quote · 17 Nov 2009

I am ready to do it manually.

I tried almost all.

Any instructions? Maybe demo tutorial or stg. else?

Quote · 17 Nov 2009

Im getting the following cron job error emails <font color="red">register_globals is On (warning, you should have this param in Off state, or your site will unsafe)</font> <br /> Even tho it says register_globals are off in the ht_access file, i had this error when trying to install the script and when trying to install the migration module so i put a php.ini file in all the main folders in the script with the text below and it got rid of the errors now its causing the cron job to have this error

safe_mode = Off
get_magic_quotes_gpc = On
allow_url_include = Off
register_globals = Off

Regard

Quote · 18 Nov 2009

1. Can you explain me which data are responsibille for profile tranfer? Maybe I will import it manually?

I tried by PhpMyAdmin- no way to do it. Mybe different way?

2. How relationship is with version 6.1.6. or 6.1.5 in transfer?

ps. I have correctly cron, I downloaded also empty, fresh 6.1.4 and upgraded to 6..6- nothing works. I can give up...

Quote · 19 Nov 2009

the only solution iv been able to find and it worked on my website when i ran into the same problem as you. 


you open inc/header.inc.php and comment mentioned line

change:

$aErrors[] = (ini_get('allow_url_include') == 0) ? '' : '<font color="red">allow_url_include is On (warning, you should have this param in Off state, or your site will unsafe)</font>';

to:

//    $aErrors[] = (ini_get('allow_url_include') == 0) ? '' : '<font color="red">allow_url_include is On (warning, you should have this param in Off state, or your site will unsafe)</font>';

let me know if this works for you.

Quote · 19 Nov 2009

Unfortunately not.

Dear Boonex Ex. what to do?

I have no clue.

As a metter of fact I have no errors. All the time profiles are in process. .. since Friday the 13th

Quote · 19 Nov 2009

Unfortunately not.

Dear Boonex Ex. what to do?

I have no clue.

As a metter of fact I have no errors. All the time profiles are in process. .. since Friday the 13th

Same here no errors, and profiles are just in process forever! anyone??

Quote · 19 Nov 2009

OOPS miss read the problem here

Quote · 19 Nov 2009

Unfortunately not.

Dear Boonex Ex. what to do?

I have no clue.

As a metter of fact I have no errors. All the time profiles are in process. .. since Friday the 13th

Same here no errors, and profiles are just in process forever! anyone??

Please ask your hosting support to assist you in setting cron jobs!

Rules → http://www.boonex.com/terms
Quote · 20 Nov 2009

Ok as i install Dolphinj 7 i don´t know that i have to install cronjobs again

so i go on next without notifie the line that the installation script gives me

how can i reach it again now ?

i don´t want to install the whole script again ...

thank you for helping

Quote · 20 Nov 2009

ask your host for help with the cronjobs, and give them the one that dolphin give you when you install it.

Quote · 20 Nov 2009

Luther thanky for reply - but i can run cronjobs on myself i just need the line the installation script gives me

i need it again now - because i don´t write it down

just need the line again

where can i find it ?

Quote · 20 Nov 2009

Luther thanky for reply - but i can run cronjobs on myself i just need the line the installation script gives me

i need it again now - because i don´t write it down

just need the line again

where can i find it ?

I posted it earlier in here..

/usr/local/bin/php -q /home/username/public_html/mysite/periodic.cron.php

Change 'username' and 'mysite' to fit yours.

Nothing to see here
Quote · 20 Nov 2009

hmmm ok thank you but which username ?

and maybe i have to change public_html too ?

Quote · 20 Nov 2009

hmmm ok thank you but which username ?

and maybe i have to change public_html too ?

I don't have a clue what you need to change it to. Edit your /inc/header.inc.php file and look for this

$dir['root']

To the right will tell you what you need to change it to. So replace /home/username/public_html/mysite/with whatever you see next to $dir['root']

So Again Example is :

/home/username/public_html/mysite/periodic/cron.php (in red should be changed)

Nothing to see here
Quote · 20 Nov 2009

Ok thank you and at day week hour and so on i always have to type in a * ?

i do this

and i load up a video again

a small one, get through all the steps to make all possible (upload size and so on)

everything the video loads up , at the end i can describe and submit - do this, but after this there is no video in my album again :(

Quote · 20 Nov 2009

The video does not process instantly.. Give it a couple minutes. It should appear.

Nothing to see here
Quote · 20 Nov 2009

Please ask your hosting support to assist you in setting cron jobs!

That was the first thing I have done.

@Zarcon- of course I also changed con job to yours. Cannot be 'local'.

Your last idea with header.inc.php also is not working.

My provider saw my cron. It is correctly, byt I thnk the metter is Friday the 13th.

How can I do it manually in databases?

Ps. of course I tried to import profiles table into mysql- error importing because of incorect row...

Quote · 20 Nov 2009

Oh - i just saw that the last 4 videos i upload are under the button "NOT PROCESSED"

what means that ?

that ffmpeg.exe is on work for this files and still converting the files ?

Quote · 20 Nov 2009

Oh - i just saw that the last 4 videos i upload are under the button "NOT PROCESSED"

what means that ?

that ffmpeg.exe is on work for this files and still converting the files ?

Yes.. Give a few minutes and see if they show up on the homepage under Public Videos.

Nothing to see here
Quote · 20 Nov 2009

So means that that all is ok with the cron job and ffmpeg.exe still working - or should i start the cronjob again manually ?

but i use plesk and don´t know where i can start manually :(

first video is 2 hours old and still processing ?

it is a short video 96 MB

Quote · 20 Nov 2009

If your cronjobs are working like they should and your videos are not getting out of processed after several minutes then you can try this solution thats worked for a number of people here on the forums.


1)
you open inc/header.inc.php

change:

$aErrors[] = (ini_get('allow_url_include') == 0) ? '' : '<font color="red">allow_url_include is On (warning, you should have this param in Off state, or your site will unsafe)</font>';

to:

//    $aErrors[] = (ini_get('allow_url_include') == 0) ? '' : '<font color="red">allow_url_include is On (warning, you should have this param in Off state, or your site will unsafe)</font>';

2) Delete the files in your cache folder

Now this might not work for everyone but it has worked for some of us, specialy if you are getting emails saying allow_url_encludes is on when its not.

O yeah after you apply the edit make sure to re upload, those other files may be stuck in proc so its probably ok to delete them.

Quote · 20 Nov 2009

This is the summary of my testphp file :

safemode=0

disabled function=

max executiontime=30

post_max_size=8

upload_max_filesize=2 M

ffmepg output :

sh: -version: command not found

i edit my thaccess as they told me in http://www.boonex.com/trac/ray/wiki/GenRayTshooter#IgetUploadingfileerrororUndefinedwhenuploadingaudiovideofilesinRayMediaandVideoPlayers


and i get this mail from cronjobs :

/bin/sh (path we discuss about ....cron.php) permission denied

Quote · 20 Nov 2009

I set cron.php to 777

now i get this mails from cronjob :

/srv/www/vhosts/new-star-casting.de/httpdocs/periodic/cron.php: line 1: ?php: No such file or directory
/srv/www/vhosts********/periodic/cron.php: line 2: /bin: is a directory
/srv/www/vhosts********/periodic/cron.php: line 3: anon_ftp: command not found
/srv/www/vhosts********/periodic/cron.php: line 4: anon_ftp: command not found
/srv/www/vhosts********/periodic/cron.php: line 5: anon_ftp: command not found
/srv/www/vhosts********/periodic/cron.php: line 6: syntax error near unexpected token `('
/srv/www/vhosts********/periodic/cron.php: line 6: `* copyright : (C) 2006 BoonEx Group'

Quote · 20 Nov 2009

anybody else an idea why the videos don´t processed ?

Quote · 20 Nov 2009
 
 
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.