Page 3 of 6 FirstFirst 12345 ... LastLast
Results 21 to 30 of 55

Thread: Setting cronjob for batch video processing

  1. #21

    Default

    Quote Originally Posted by browniegirl
    or is this my cpanel username?
    Yes
    This member is now known as Sitting Out

  2. #22
    Join Date
    Jul 2007
    Posts
    115

    Default

    Quote Originally Posted by browniegirl
    I've creaed the cron -- but in the "username" portion of the script:
    /usr/bin/php -q /home/username/public_html/cron.php

    Am I to put the username of the vhsare user I want to post the cids to.. or is this my cpanel username? Also,,, when it sends "where do you want emails sent" , and you have "video" -- Am I to put "video" there as u have or my real email address?
    FYI, if you put your email address, you need to know that it will spam your email box, in 2 days i had almost 800 emails from the cron job :roll:

  3. #23
    Join Date
    Apr 2007
    Posts
    2,202

    Default

    Quote Originally Posted by karlmay
    FYI, if you put your email address, you need to know that it will spam your email box, in 2 days i had almost 800 emails from the cron job :roll:
    */5 * * * * /usr/bin/php -q /path/to/cron.php > /dev/null &

    The last part > /dev/null & will disable any email.

    If you removed that part, it will send you one email for every 5 minutes.

  4. #24
    Join Date
    Apr 2007
    Posts
    2,202

    Default Re: Urls

    Quote Originally Posted by danielvg
    There are several (all coming from youtube)
    some examples:
    http://www.youtube.com/watch?v=LVXUMHinJR4
    Bugfix for youtube import available at

    http://forums.buyscripts.in/viewtopic.php?t=1423

    You need to apply this bug fix only if you downloded vshare before 27 Aug 2007 and having problem with youtube video import.

  5. #25
    Join Date
    May 2007
    Posts
    212

    Default WHAT ABOUT PLESK

    How do I set up cron jobs in PLESK?

  6. #26
    Join Date
    Apr 2007
    Posts
    2,202

    Default

    For Plesk, use

    Code:
    */5 * * * * cd /var/www/vhosts/yourdomain.extn/httpdocs;  /usr/bin/php -q cron.php  > /dev/null &

  7. #27
    Join Date
    May 2007
    Posts
    212

    Default

    Quote Originally Posted by admin
    For Plesk, use

    Code:
    */5 * * * * cd /var/www/vhosts/yourdomain.extn/httpdocs;  /usr/bin/php -q cron.php  > /dev/null &
    I could not find cron jobs in plesk...can you give some info as to where it could be found

  8. #28

    Default Payback

    Time for me to return the favour:

    - Login to your panel

    - select domains

    - choose the domain you require

    - goto the hosting section

    - there, IF ACTIVATED, you should see CRONTAB (has an alarm clock icon if you have latest pleask)

    - Select the user you wish to put the cronjob under

    - select the "schedule a task for (username)"

    - put in the parameters :wink:

  9. #29

    Default Converting a lot of vids

    I am trying to use the cron to convert about 200 vids. It seems that each time the cron is kicked off, it sets 2 of the vids in the process queue to "start download". That is going to take forever!

    Is there someway to set it to check if any of the vids have been set to "start download". If they have, then convert them first. If none of them are in the "start download" status, then get more vids...

    Shantul.

  10. #30
    Join Date
    Apr 2007
    Posts
    2,202

    Default Re: Converting a lot of vids

    Quote Originally Posted by nightmage
    I am trying to use the cron to convert about 200 vids. It seems that each time the cron is kicked off, it sets 2 of the vids in the process queue to "start download". That is going to take forever!
    cronjob will do one process at a time.

    That is download a video or convert a video and add it to the site.

    When it start downloading a video, its status is set to "start download", when finished, it will set to "finish download".

    If you need to speed up the process, you need to run cron job more often, by default it run every 5 minutes, if you need you can run it every 1 or 2 minutes. But this will increase server load as processing video need a lot of CPU time and memory.

    Quote Originally Posted by nightmage
    Is there someway to set it to check if any of the vids have been set to "start download". If they have, then convert them first. If none of them are in the "start download" status, then get more vids...
    This is done alternatively, that is if cronjob downloaded a video, next time it will convert a video if a video is available for convert, not not it will start next download.

Page 3 of 6 FirstFirst 12345 ... LastLast

Similar Threads

  1. Video Processing Problems
    By heyahey in forum Bug Reports
    Replies: 2
    Last Post: 05-04-2009, 04:42 AM
  2. Help, batch conversion
    By chris1972 in forum Installation Support
    Replies: 2
    Last Post: 07-30-2008, 03:38 PM
  3. Video Processing
    By browniegirl in forum General Discussions
    Replies: 2
    Last Post: 02-15-2008, 12:02 AM
  4. Cronjob problems? (Video not getting converted to flv)
    By mismo in forum Installation Support
    Replies: 8
    Last Post: 09-12-2007, 02:58 PM
  5. Video Processing: Import Video Folder Error
    By browniegirl in forum Installation Support
    Replies: 2
    Last Post: 08-26-2007, 06:42 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •