Menu

job are running twice ?

Help
2008-11-17
2013-04-25
  • Nobody/Anonymous

    i have a hudge bug :

    All job are running fine (no error, no file error : when doing a "mv") when executing with the launcher (manualy, with the rocket) ...
    but the issue is when they are schelduled they are

    - executing twice
    - duplicating code (Ex.: if my remote script is doing "ls -al"  then this command is executed twice ... very very strange)

    I 'm only using remote script . (with ssh)

     
    • Luca Corbo

      Luca Corbo - 2008-11-17

      Hi,
      this beahavior could be due to a duplicate entry in the crontab file.
      Please use the "crontab -l"  command to check if a line like the following is reported twice:

      * * * * * /usr/bin/php $ORTRO_PATH/bin/crontab.php 2>&1 > $ORTRO_PATH/log/crontab.log

      You may remove all duplicate entries using the command "crontab -e".

      Please let me know if this solve your issue.

      Regards,
      Luca

       
    • Nobody/Anonymous

      YESSSSSSSSSSSSSSSSSS !!!

      wouapss !

      you're right : again.

      this is my fault.

      two entries in the crontab of apache user ... shit !

      thanks lucor.

      Ortro ROCKs!

       

Log in to post a comment.