Page 4 of 6 FirstFirst ... 23456 LastLast
Results 31 to 40 of 55

Thread: Setting cronjob for batch video processing

  1. #31
    Join Date
    May 2007
    Posts
    212

    Default

    i am having errors

    Crontab->export() failed: crontabmng failed:
    crontabmng syntax:
    get <username>
    to show crontab of <username>
    set <username> <filename>
    to set crontab of <username> from <filename>
    allow <username>
    to allow crontab of <username>
    deny <username>
    to deny crontab of <username>
    remove <username>
    to remove crontab of <username>
    rename <username> <newusername>
    to rename crontab of <username> to <newusername>
    System error: crontab execution error

    0: /usr/local/psa/admin/plib/ui_common/CrontabTaskPropertiesUIPointer.php:89
    CrontabTaskPropertiesUIPointer->accessItem(string 'POST', NULL null)
    1: /usr/local/psa/admin/plib/UIPointer.php:519
    UIPointer->access(string 'POST')
    2: /usr/local/psa/admin/htdocs/plesk.php:19

  2. #32
    Join Date
    May 2007
    Posts
    212

    Default

    here is a closer look at the error



    ERROR: PleskFatalException
    Crontab->export() failed: crontabmng failed:
    crontabmng syntax:
    get <username>
    to show crontab of <username>
    set <username> <filename>
    to set crontab of <username> from <filename>
    allow <username>
    to allow crontab of <username>
    deny <username>
    to deny crontab of <username>
    remove <username>
    to remove crontab of <username>
    rename <username> <newusername>
    to rename crontab of <username> to <newusername>
    System error: crontab execution error

    Additionally, an exception has occurred while trying to report this error: PleskObjectNotFoundException
    Object not found: Task id 0xdd2802e507acdfdfeb6e665c0a3ceb6f

    0: /usr/local/psa/admin/plib/ui_common/CrontabTaskToggleUIPointer.php:55
    CrontabTaskToggleUIPointer->accessItem(string 'GET', NULL null)
    1: /usr/local/psa/admin/plib/UIPointer.php:519
    UIPointer->access(string 'GET')
    2: /usr/local/psa/admin/htdocs/plesk.php:19

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

    Default Re: Setting cronjob for batch video processing

    It seems problem with your server. You need to check with your web host to see why plesk is not running cronjob.

  4. #34
    Join Date
    May 2007
    Posts
    212

    Default Re: Setting cronjob for batch video processing

    Oh I got it sorted out.

    I was putting in the values and then in the command line I was copying and pasting the command that you wrote for plesk users on the first page of the cron job tutorial. Basically because of that I was essentially unputting the values 2 times and therefore the error was coming up.

    therefore on the command you should take off */5 ****

  5. #35
    Join Date
    Jul 2007
    Posts
    18

    Default Re: Setting cronjob for batch video processing

    Am trying to do this by command line on my server (no control panel)
    My /etc/crontab looks like this:

    #for vshare processing
    */3 * * * * /usr/local/bin/php -q /usr/local/www/data-dist/cron.php > /dev/null &


    I keep getting the following error:

    Sep 16 10:37:00 localhost /usr/sbin/cron[726]: (*system*) RELOAD (/etc/crontab)
    Sep 16 10:37:00 localhost /usr/sbin/cron[726]: login_getclass: unknown class 'php'
    Sep 16 10:37:00 localhost /usr/sbin/cron[726]: (*system*) PARSE (bad username)
    Sep 16 10:37:00 localhost /usr/sbin/cron[726]: (process) ORPHAN (no passwd entry)


    Any ideas what may be going wrong?

  6. #36
    Join Date
    May 2007
    Posts
    212

    Default Re: Setting cronjob for batch video processing

    sounds like something for admin to handle

  7. #37
    Join Date
    Apr 2007
    Posts
    2,202

    Default Re: Setting cronjob for batch video processing

    s25, try running the command on system prompt

    /usr/local/bin/php -q /usr/local/www/data-dist/cron.php

    The error seems some thing related to the system user that runs the cronjob. Which system user the cron job runs ?

  8. #38
    Join Date
    May 2007
    Posts
    212

    Default Re: Setting cronjob for batch video processing

    when you say system prompt you mean the cron jobs line? or the server command line?

  9. #39
    Join Date
    Jul 2007
    Posts
    18

    Default Re: Setting cronjob for batch video processing

    I think he means the command line, I am running it fine on the command line as root without an issue, How do I make it run as a cronjob using the command line?

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

    Default Re: Setting cronjob for batch video processing

    Code:
    crontab -e -u username
    Then it will open text editor like nano, pico or vi depending on your server. You need to enter the cronjob command in the editor and save it. After you add it, you can verify it with command

    Code:
    crontab -l -u username
    Don't run it as user root. If you are loging in as root, just create a new user to run cron job.

Page 4 of 6 FirstFirst ... 23456 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
  •