Cron Job

Hi

Can some one please help me how to run my cron job right here is the deafault one when I do installation

* * * * * cd /home/content/23/2345675/html/periodic; /usr/local/bin/php -q cron.php

 

but is not working  so I try this one:      /web/cgi-bin/php5 "http://www.mysite.com/html/periodic/cron.php"

but still not working

can you tell me wat is wrong and sorry i don't know nothing about cron jobs

Thank's for your help guys

Thank's

Post Reply - if you going to help - No for - bla bla bla bla
Quote · 18 Nov 2010

you can contact your hosting company if you are on shared and they can give you the path to the php binary....

 

you can also look in your PHPINFO() and find it in there as well..... now some machines want the cd some dont, but one thing for sure, is you have to get on the path of the php binary..

 

When a GIG is not enough --> Terabyte Dolphin Technical Support - Server Management and Support
Quote · 18 Nov 2010

I imagine your new one isn't working because that's not the path to your PHP binary. I suggest you take a gander at this topic: http://www.boonex.com/unity/forums/topic/Troubleshooting-Crons-Videos-Migrations-RMS.htm.

 

Edit: Hello, DosDawg.

BoonEx Certified Host: Zarconia.net - Fully Supported Shared and Dedicated for Dolphin
Quote · 18 Nov 2010

I would suggest trying this:

 

/usr/local/bin/php -q /home/content/23/2345675/html/periodic/cron.php

 

You can refer to my Wiki tutorial here:

http://www.boonex.com/trac/dolphin/wiki/TutorialCronJobSetup

 

EDIT: WOW 3 responses instantly.. haha

Nothing to see here
Quote · 18 Nov 2010

i still think he should ask his hosting service provider for the correct path to cron. i know the other day i was on a machine and it had the most strange path to php, and it was very far from the norm.

 

similar to an account i moved the other day from x host to y host..... backups were disabled, hence rendering xml-api an integral part of whm/cpanel useless.

and i think that these hosts are moving these binaries, because they are trying to use php4 still..... oh well

I would suggest trying this:

 

/usr/local/bin/php -q /home/content/23/2345675/html/periodic/cron.php

 

You can refer to my Wiki tutorial here:

http://www.boonex.com/trac/dolphin/wiki/TutorialCronJobSetup

 

EDIT: WOW 3 responses instantly.. haha

 

When a GIG is not enough --> Terabyte Dolphin Technical Support - Server Management and Support
Quote · 18 Nov 2010

Thank's guy for the reply

I get this path when I browse for the cron.php by hosting tool

 

I ask my hosting about this and they send me this

 

_______________________________________________

 

Cron Job TitleEnter a name for this Cron Job. Ideally, this title relates to this task, so you can identify it easily.CommandThe Command field is the script or executable that runs at a specified frequency. ClickBrowse to locate a file in your hosting account. The full file name of your selection is placed into this editable field. Click the question mark icon for additional assistance in selecting a command.NOTE: Our sample scripts use the variable $HOME. We recommend using $HOME to represent the actual server path, although either can be used______________________________________________________

 

Default: /web/cgi-bin/php5 "$HOME/html/periodic/cron.php"

New One: /web/cgi-bin/php5 "home/content/55/7007955/html/periodic/cron.php"

 

Do you guys see something worng on the new one or is fine

another question do any to remove the "                     "

or this is normal for a cron job

 

Thank's

Post Reply - if you going to help - No for - bla bla bla bla
Quote · 18 Nov 2010

I personally have never seen "  " in a cron command. So even using what you stated below, I would think it would look like this:

 

/web/cgi-bin/php5 -q /home/content/55/7007955/html/periodic/cron.php

 

Of course your host would know where the php command was (/web/cgi-bin/php5) better than us :)

Nothing to see here
Quote · 18 Nov 2010

Thank's Zarcon

I will try your command

Thank's guy

Post Reply - if you going to help - No for - bla bla bla bla
Quote · 18 Nov 2010

 

you can contact your hosting company if you are on shared and they can give you the path to the php binary....

 

you can also look in your PHPINFO() and find it in there as well..... now some machines want the cd some dont, but one thing for sure, is you have to get on the path of the php binary..

 

DosDawg

Loaded Configuration File /home/content/55/7007955/html/php5.ini

if this wat you one me to look

Post Reply - if you going to help - No for - bla bla bla bla
Quote · 18 Nov 2010

I still can get the videos to work on my site

the cron job is not working

Post Reply - if you going to help - No for - bla bla bla bla
Quote · 18 Nov 2010
You should check with godaddy on server settings as I have seen many people with godaddy hosting having issues with script/settings and such
Quote · 19 Nov 2010

Try this,

/web/cgi-bin/php $HOME/html/periodic/cron.php

Quote · 19 Nov 2010

i'm gettings emails from my cron job

No input file specified.

is this normal or my cron job is working or not working

 

Thank's

Post Reply - if you going to help - No for - bla bla bla bla
Quote · 19 Nov 2010

Do you have GoDaddy as your hosting? Is it Shared Hosting? I have read in previous posts that GoDaddy doesnt allow ffmpeg to be ran in a Shared Hosting environment. Im not sure about this, but if this is true, then it will not matter if your cron is setup properly or not.. you will not get your videos to convert.

Nothing to see here
Quote · 19 Nov 2010

before I switch to godaddy I send the link for the  Dolphin Hosting Requirements

and they say the dolphin will be runing fine on godaddy but if I want to stream video chat

I need a dedicate server and I tell them I don't need no live stream video chat

only to upload photos, music and videos and they say the Ultimate Plan Grid will be fine for me

Post Reply - if you going to help - No for - bla bla bla bla
Quote · 19 Nov 2010

 

before I switch to godaddy I send the link for the  Dolphin Hosting Requirements

and they say the dolphin will be runing fine on godaddy but if I want to stream video chat

I need a dedicate server and I tell them I don't need no live stream video chat

only to upload photos, music and videos and they say the Ultimate Plan will be fine for me

You love going to all the wrong hosting providers, don't you? I think Prolaznik is also on GoDaddy. He might be able to shed some light on the situation.

BoonEx Certified Host: Zarconia.net - Fully Supported Shared and Dedicated for Dolphin
Quote · 19 Nov 2010

That's not your problem man


Post Reply - if you going to help - No for - bla bla bla bla
Quote · 19 Nov 2010

 

That's not your problem man


You're right. It's yours. Have you tried contacting GoDaddy's support department for this to see what they have to say?

BoonEx Certified Host: Zarconia.net - Fully Supported Shared and Dedicated for Dolphin
Quote · 19 Nov 2010

if you scroll down you will see I don't thing you read the hole topic

but still no luck I only get email say:  No input file specified.

Post Reply - if you going to help - No for - bla bla bla bla
Quote · 19 Nov 2010

godaddy does does allow ffmpeg to be ran
@ufo i gave you the cron command to use

Quote · 19 Nov 2010

Yea and Thank's

but I got this messages today any Idea wat is wrong here I see at the button say Fatal error

_____________________________________________________

 

FFmpeg version 0.6, Copyright (c) 2000-2010 the FFmpeg developers
built on Aug 31 2010 07:42:03 with gcc 4.4.1
configuration: --enable-libmp3lame --enable-libxvid --enable-libx264 --enable-gpl --enable-libvorbis --enable-libogg --enable-libtheora --enable-liba52 --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-version3 --enable-libfaad --enable-libfaac --enable-pthreads --disable-shared --enable-static --enable-avfilter --enable-nonfree --enable-swscale --disable-ffplay --disable-ffserver --extra-libs='-static -L/usr/lib -L/home/rayz/ffmpeg_opt -L/home/rayz/ffmpeg_opt/lib' --extra-cflags='-static -I/home/rayz/ffmpeg_opt/include'
libavutil 50.15. 1 / 50.15. 1
libavcodec 52.72. 2 / 52.72. 2
libavformat 52.64. 2 / 52.64. 2
libavdevice 52. 2. 0 / 52. 2. 0
libavfilter 1.19. 0 / 1.19. 0
libswscale 0.11. 0 / 0.11. 0
[flv @ 0xa46aae0]Estimating duration from bitrate, this may be inaccurate
Input #0, flv, from '/home/content/55/7007955/html/flash/modules/video/files/88':
Metadata:
duration : 272
starttime : 0
totalduration : 272
width : 640
height : 360
videodatarate : 708
audiodatarate : 95
totaldatarate : 811
framerate : 24
bytelength : 27570090
canseekontime : true
sourcedata : B4A7DA202HH1290056307487455
purl : 
pmsg : 
Duration: 00:04:32.05, start: 0.000000, bitrate: 821 kb/s
Stream #0.0: Video: h264, yuv420p, 640x360 [PAR 1:1 DAR 16:9], 724 kb/s, 24 tbr, 1k tbn, 48 tbc
Stream #0.1: Audio: aac, 44100 Hz, stereo, s16, 97 kb/s
Output #0, image2, to '/home/content/55/7007955/html/flash/modules/video/files/1290194101.jpg':
Metadata:
encoder : Lavf52.64.2
Stream #0.0: Video: mjpeg, yuvj420p, 640x360 [PAR 1:1 DAR 16:9], q=2-31, 200 kb/s, 90k tbn, 24 tbc
Stream mapping:
Stream #0.0 -> #0.0
Press [q] to stop encoding
frame= 1 fps= 0 q=0.0 Lsize= -0kB time=0.04 bitrate= -4.2kbits/s 
video:5kB audio:0kB global headers:0kB muxing overhead -100.459578%
FFmpeg version 0.6, Copyright (c) 2000-2010 the FFmpeg developers
built on Aug 31 2010 07:42:03 with gcc 4.4.1
configuration: --enable-libmp3lame --enable-libxvid --enable-libx264 --enable-gpl --enable-libvorbis --enable-libogg --enable-libtheora --enable-liba52 --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-version3 --enable-libfaad --enable-libfaac --enable-pthreads --disable-shared --enable-static --enable-avfilter --enable-nonfree --enable-swscale --disable-ffplay --disable-ffserver --extra-libs='-static -L/usr/lib -L/home/rayz/ffmpeg_opt -L/home/rayz/ffmpeg_opt/lib' --extra-cflags='-static -I/home/rayz/ffmpeg_opt/include'
libavutil 50.15. 1 / 50.15. 1
libavcodec 52.72. 2 / 52.72. 2
libavformat 52.64. 2 / 52.64. 2
libavdevice 52. 2. 0 / 52. 2. 0
libavfilter 1.19. 0 / 1.19. 0
libswscale 0.11. 0 / 0.11. 0
[flv @ 0xaf04ae0]Estimating duration from bitrate, this may be inaccurate
Input #0, flv, from '/home/content/55/7007955/html/flash/modules/video/files/88':
Metadata:
duration : 272
starttime : 0
totalduration : 272
width : 640
height : 360
videodatarate : 708
audiodatarate : 95
totaldatarate : 811
framerate : 24
bytelength : 27570090
canseekontime : true
sourcedata : B4A7DA202HH1290056307487455
purl : 
pmsg : 
Duration: 00:04:32.05, start: 0.000000, bitrate: 821 kb/s
Stream #0.0: Video: h264, yuv420p, 640x360 [PAR 1:1 DAR 16:9], 724 kb/s, 24 tbr, 1k tbn, 48 tbc
Stream #0.1: Audio: aac, 44100 Hz, stereo, s16, 97 kb/s
[libx264 @ 0xaf08430]using SAR=1/1
[libx264 @ 0xaf08430]using cpu capabilities: none!
[libx264 @ 0xaf08430]profile Main, level 3.0
[libx264 @ 0xaf08430]264 - core 94 r1583 7608d73 - H.264/MPEG-4 AVC codec - Copyleft 2003-2010 - http://www.videolan.org/x264.html - options: cabac=1 ref=8 deblock=1:0:0 analyse=0x1:0x131 me=hex subme=7 psy=1 psy_rd=1.00:0.00 mixed_ref=1 me_range=16 chroma_me=1 trellis=1 8x8dct=0 cqm=0 deadzone=21,11 fast_pskip=1 chroma_qp_offset=-2 threads=1 sliced_threads=0 nr=0 decimate=1 interlaced=0 constrained_intra=0 bframes=0 weightp=0 keyint=300 keyint_min=25 scenecut=40 intra_refresh=0 rc_lookahead=40 rc=abr mbtree=1 bitrate=512 ratetol=0.2 qcomp=0.00 qpmin=10 qpmax=51 qpstep=4 ip_ratio=1.41 aq=1:1.00
Output #0, ipod, to '/home/content/55/7007955/html/flash/modules/video/files/88.m4v':
Metadata:
encoder : Lavf52.64.2
Stream #0.0: Video: libx264, yuv420p, 640x360 [PAR 1:1 DAR 16:9], q=10-51, 512 kb/s, 30k tbn, 29.97 tbc
Stream #0.1: Audio: libfaac, 44100 Hz, stereo, s16, 128 kb/s
Stream mapping:
Stream #0.0 -> #0.0
Stream #0.1 -> #0.1
Press [q] to stop encoding
frame= 42 fps= 0 q=35.0 size= 1kB time=0.03 bitrate= 293.7kbits/s dup=7 drop=0 
frame= 46 fps= 36 q=36.0 size= 17kB time=0.17 bitrate= 853.4kbits/s dup=8 drop=0 
frame= 49 fps= 24 q=43.0 size= 31kB time=0.27 bitrate= 965.4kbits/s dup=9 drop=0 
frame= 54 fps= 20 q=43.0 size= 40kB time=0.43 bitrate= 757.5kbits/s dup=10 drop=0 
frame= 59 fps= 18 q=40.0 size= 48kB time=0.60 bitrate= 652.4kbits/s dup=11 drop=0 
frame= 64 fps= 16 q=38.0 size= 56kB time=0.77 bitrate= 602.3kbits/s dup=12 drop=0 
frame= 69 fps= 15 q=35.0 size= 66kB time=0.93 bitrate= 582.1kbits/s dup=13 drop=0 
frame= 74 fps= 14 q=34.0 size= 78kB time=1.10 bitrate= 576.9kbits/s dup=14 drop=0 
frame= 79 fps= 13 q=34.0 size= 91kB time=1.27 bitrate= 587.3kbits/s dup=15 drop=0 
frame= 84 fps= 12 q=33.0 size= 104kB time=1.43 bitrate= 595.9kbits/s dup=16 drop=0 
frame= 89 fps= 11 q=34.0 size= 119kB time=1.60 bitrate= 611.1kbits/s dup=17 drop=0 
frame= 94 fps= 11 q=34.0 size= 131kB time=1.77 bitrate= 607.9kbits/s dup=18 drop=0 
frame= 99 fps= 11 q=34.0 size= 145kB time=1.94 bitrate= 611.9kbits/s dup=19 drop=0 
frame= 102 fps= 10 q=36.0 size= 159kB time=2.04 bitrate= 638.9kbits/s dup=19 drop=0 
frame= 107 fps= 10 q=35.0 size= 168kB time=2.20 bitrate= 624.0kbits/s dup=20 drop=0 
frame= 111 fps= 10 q=34.0 size= 177kB time=2.34 bitrate= 620.2kbits/s dup=21 drop=0 
frame= 115 fps= 10 q=35.0 size= 186kB time=2.47 bitrate= 617.9kbits/s dup=22 drop=0 
frame= 119 fps= 10 q=34.0 size= 197kB time=2.60 bitrate= 621.6kbits/s dup=23 drop=0 
frame= 124 fps= 10 q=34.0 size= 209kB time=2.77 bitrate= 617.4kbits/s dup=24 drop=0 
frame= 129 fps= 10 q=33.0 size= 221kB time=2.94 bitrate= 616.4kbits/s dup=25 drop=0 
frame= 134 fps= 9 q=33.0 size= 234kB time=3.10 bitrate= 616.5kbits/s dup=26 drop=0 
frame= 139 fps= 9 q=33.0 size= 245kB time=3.27 bitrate= 614.4kbits/s dup=27 drop=0 !

fram
e= 144 fps= 9 q=32.0 size= 254kB time=3.44 bitrate= 606.2kbits/s dup=28 drop=0 
frame= 151 fps= 9 q=34.0 size= 281kB time=3.67 bitrate= 627.8kbits/s dup=29 drop=0 
frame= 154 fps= 9 q=35.0 size= 294kB time=3.77 bitrate= 637.9kbits/s dup=30 drop=0 
frame= 159 fps= 9 q=35.0 size= 308kB time=3.94 bitrate= 640.8kbits/s dup=31 drop=0 
frame= 162 fps= 9 q=35.0 size= 316kB time=4.04 bitrate= 641.1kbits/s dup=31 drop=0 
frame= 164 fps= 9 q=35.0 size= 328kB time=4.10 bitrate= 655.1kbits/s dup=32 drop=0 
frame= 167 fps= 9 q=36.0 size= 339kB time=4.20 bitrate= 661.4kbits/s dup=32 drop=0 
frame= 169 fps= 9 q=37.0 size= 352kB time=4.27 bitrate= 674.6kbits/s dup=33 drop=0 
frame= 174 fps= 8 q=39.0 size= 372kB time=4.44 bitrate= 686.6kbits/s dup=34 drop=0 
frame= 179 fps= 8 q=39.0 size= 386kB time=4.60 bitrate= 686.9kbits/s dup=35 drop=0 
frame= 182 fps= 8 q=39.0 size= 395kB time=4.70 bitrate= 688.4kbits/s dup=35 drop=0 
frame= 186 fps= 8 q=40.0 size= 407kB time=4.84 bitrate= 689.4kbits/s dup=36 drop=0 
frame= 189 fps= 8 q=40.0 size= 416kB time=4.94 bitrate= 690.0kbits/s dup=37 drop=0 
frame= 194 fps= 8 q=40.0 size= 437kB time=5.11 bitrate= 701.7kbits/s dup=38 drop=0 
frame= 199 fps= 8 q=41.0 size= 449kB time=5.27 bitrate= 698.1kbits/s dup=39 drop=0 
frame= 204 fps= 8 q=40.0 size= 458kB time=5.44 bitrate= 690.1kbits/s dup=40 drop=0 
frame= 207 fps= 8 q=40.0 size= 475kB time=5.54 bitrate= 701.9kbits/s dup=40 drop=0 
frame= 212 fps= 8 q=41.0 size= 480kB time=5.71 bitrate= 689.5kbits/s dup=41 drop=0 
frame= 219 fps= 8 q=39.0 size= 487kB time=5.94 bitrate= 671.2kbits/s dup=43 drop=0 
frame= 229 fps= 8 q=40.0 size= 519kB time=6.27 bitrate= 678.4kbits/s dup=45 drop=0 
frame= 237 fps= 8 q=39.0 size= 527kB time=6.54 bitrate= 660.6kbits/s dup=46 drop=0 
frame= 245 fps= 8 q=37.0 size= 535kB time=6.81 bitrate= 643.3kbits/s dup=48 drop=0 !

frame
= 252 fps= 9 q=36.0 size= 543kB time=7.04 bitrate= 631.9kbits/s dup=49 drop=0 
frame= 258 fps= 9 q=35.0 size= 551kB time=7.24 bitrate= 622.9kbits/s dup=50 drop=0 
<br />
<b>Fatal error</b>: Allowed memory size of 67108864 bytes exhausted (tried to allocate 16 bytes) in <b>/home/content/55/7007955/html/plugins/moovrelocator/lib/Moovrelocator.class.php</b> on line <b>279</b><br />

 

____________________________________________________________________________________________

Post Reply - if you going to help - No for - bla bla bla bla
Quote · 19 Nov 2010

admin / modules / flash / video / settings and disable "USE  H264 codec"

Quote · 19 Nov 2010

 

admin / modules / flash / video / settings and disable "USE  H264 codec"

ha ha ha

<b>Fatal error</b>: Allowed memory size of 67108864 bytes exhausted (tried to allocate 16 bytes) in <b>/home/content/55/7007955/html/plugins/moovrelocator/lib/Moovrelocator.class.php</b> on line <b>279</b><br />

 

OUT OF MEMORY

 

increase memory on the machine.... oh yeah you cant....

When a GIG is not enough --> Terabyte Dolphin Technical Support - Server Management and Support
Quote · 19 Nov 2010

Excuse him, he's been drinking.

BoonEx Certified Host: Zarconia.net - Fully Supported Shared and Dedicated for Dolphin
Quote · 19 Nov 2010
 
 
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.