Jump to content

serge

Members
  • Posts

    695
  • Joined

  • Last visited

  • Days Won

    6

Reputation Activity

  1. Like
    serge reacted to PauloV in 4 D 30 Min, No Reply To Tickets   
    lol
     
    OFF TOPIC, but real facts in this buisness, related with the OP question:
     
    vacation???? what is that name? LOL
     
    I personaly dont know what is a real vacation in almost 17 years (before I openned my buisness) never rest more than 2 days, and I cant shutdown my smartphone to check emails or check if servers are ok more than 30 minuts LOL its an habit, a really bad habit but i cant stop doing it
     
    And now that im a father since 2012, my child complets my rest by playing with im lol
  2. Like
    serge got a reaction from nahanil in Blesta Freely Spams After Conversion   
    Testing, learning, testing, and only after PRODUCTION?
  3. Like
    serge reacted to Paul in Terminate Suspended Services   
    You could make a plugin to do all of this. Plugin registers the cron, and allows the X,Y,Z values for each of those options to be set.
  4. Like
    serge got a reaction from Paul in Confuse About Currency   
    if you want default currency be IRD, please do it here:  here admin area & menu: /company/currencies/setup/
     
    On previous picture it's was USD your default (the default currency is the one you can not remove)
     
    Next Do manual cron, here: menu : /settings/system/automation/
     your default currency will stay at 1 (like it should stay)
    and other currencies will have their own rate
  5. Like
    serge got a reaction from ariq01 in Confuse About Currency   
    if you want default currency be IRD, please do it here:  here admin area & menu: /company/currencies/setup/
     
    On previous picture it's was USD your default (the default currency is the one you can not remove)
     
    Next Do manual cron, here: menu : /settings/system/automation/
     your default currency will stay at 1 (like it should stay)
    and other currencies will have their own rate
  6. Like
    serge got a reaction from interfasys in Selling Domain Names   
    Correct me if I'm wrong, but if you create one package per price range per example, then if you ever need to change the price, you can simply untick a domain in one package and tick it in another, no? For promotions you could create a new package with just that domain. not certain of what will happen with existing orders (activated service), because it's like part of package migration, best you try with existing service (activated domain) how the switch will happen.
     
    and imagine in the same range price you could work with different registrar modules, but because you can only use one registrar module by package...so at the end what will be the more flexible for you? and TEST IT.
     
     
    By the way I was prefering full domain extension separation by package, because my business need on Blesta is to setup a domain registry (not registar), so even the description of extension (package) , will be specific VS create package by group of price of domain extensions.
  7. Like
    serge reacted to Blesta Addons in [Components] Html Invoice   
    i wil fix it this weekend , it need a thumbail class to be adjusted to the div .
  8. Like
    serge reacted to Blesta Addons in Option To Disable Continuous Invoice Generation (When Previous Invoice Was Unpaid)   
    if the service is suspended , exist a option for this .
  9. Like
    serge reacted to Blesta Addons in [Components] Html Invoice   
    Hello All .
    this Components for invoice_ template , now the client can view the invoice in html format and then decide to download pdf format .
     
    screenshot
     


    EDIT :
    3.0.0
    + Added Support  for 4.4.0
    2.1.8
    + rewrite HTML engine output .
    2.1.7
    + fixed invoice type numbering label in PDF
    + preparing the class for handling the PDF cached (EU invoicing system)
    + remove RTL alignement in PDF file to prevent malformed PDF file in RTL languages
    2.1.6
    + fixed invoice type numbering label in html
    + added col-md-x classes for better rendiring in devices
    + separate language file for HTML and PDF
    2.1.5
    + added button for edit invoice (staff view)
    + added jquery and bootsrap js
    + added bootsrap theme css
    2.1.2
    + added payment botton
    2.1.1
    + fixed logo design
    2.0.1
    + added link to return to client view
    + remove language difinition from invoiceinfo function output .
    2.0.0
    + fixed attach invoice in email in pdf format
    + recode the class to a new handle mime type .
    1.5.0
    + added print invoice botton .
    + added download PDF botton .
    + improuve code structure to be more flexible , now, you can almost control all the aspect from the template file .
    1.0.0
    + fix language vars.
    + cleanup code .


    ANY BUG, feedback post it here , we can improuve the work .
    as always the installtion steps is :
    1 - download the file http://blesta-addons.com/plugin/store/main/item/6/ . for new release .
    2 - upload the html_invoice folder inside components/invoice_templates  directory .
    3 - goto settings & Invoice Customization , and select html_invoice , then select in type HTML/PDF .
    4 - enjoy the content .

    if you want to use your own template file , just go inside directory template , you will find the default one , copy it and change name , and change the html output as you want , then change the template used html_invoice.php

    from
     
    private static $template = "default" ; to
     
    private static $template = "you_template" ; the magic here is you can use your own html template for invoices , just go inside directory template , you will find the default one , copy it and change name , and change the html output as you want , then change the templated used in Invoice Customization setting .

     
    Best regards
  10. Like
    serge reacted to blesta_tester in Eu (Proforma) Invoicing Critical Bug   
    Yes, conversion date is also fine, as well as "Close" date, because when converting proforma to a real invoice (when payment is received) it becomes closed. 
  11. Like
    serge got a reaction from LukesUbuntu in Cron Task Locked Improvements   
    Just posted in the contribute section,
    : http://www.blesta.com/forums/index.php?/topic/4073-send-notify-email-about-general-blestas-cron-task-locked-or-stalled/
  12. Like
    serge got a reaction from Blesta Addons in Send Notify Email About General Blesta's Cron Task Locked Or Stalled   
    Attached to this post, a poor man's cron script to check "health" of Blesta cron
     
    Basically it's check in Blesta log being  in Blesta database & table log_cron
    what is the max of end_date when `run_id` ='0'
     
    run_id` ='0  in table log_cron
    is matching to such Blesta cron output: "Attempting to run all tasks for ? XXX-COMPANY ? XXX-COMPANY.. All tasks have been completed."
     
    so this cron script definite an acceptable last cron end_date ($Accepted_last_end_date) from time now, it's (timeNow -30mins) but you can change it as explained in bellow instruction, so if Blesta  end_date in table log_cron was older(inferior) than this $Accepted_last_end_date, you will receive an email (by smtp), and no more email will be sent until Blesta cron back to normal (this to prevent you to received a lot of warning email in your email box....)
    -------------------
     
    Require Pear & Pear Mail -( ever installed by default on most servers).

    in console, check if pear is there, type:

    pear version
     
     
    install on debian:
    ---------------------

    apt-get install php-pearl

    pear install mail

    pear install Net_SMTP

    pear install Auth_SASL

    pear install mail_mime
     
    ----------------
    optional, require php cli (php5-cli) , for testing & see echo messages.


    ---------------
    Decompress zip archive and place "check_blesta_cron" dir at one level above of your public_html dir ,

    example, if you have path:
    /home/YOUR-USER/public_html

    place "check_blesta_cron" dir here:
    /home/YOUR-USER/

    --------------
    Be aware that putting "check_blesta_cron" dir inside "public_html" is NOT SECURE.
    If you want to do it, for doing WEB CRON, create a directory protected by password.
    --------------



    1/ "open_custom_blesta_db_connection.php" file & at top from line 5 to 8:  fill your Blesta database connection details


    2/ "CRON_check_blesta_cron.php" :
     
    - make time zone definited at line 7 be same as time zone chosen in Blesta admin area & menu: /settings/company/general/localization/

     - check/fill from line 103 to 115 , with your email address &  smtp parameters

    - for TESTING if the sending of email work, read test instruction at line 64


    3/
    run "CRON_check_blesta_cron.php" :

    3a/
    - if you have console (command line access) use php CLI in console, to run test, type:

    cd /PATH-TO/check_blesta_cron/
    php CRON_check_blesta_cron.php

    4/
    For create a recurrent run (cronjob)

    4a/
    - use crontab & in console, type (if your user is not root just change root to your-user):

    crontab -u root -e

    Next ad this line in crontab:

    */15 * * * * php /PATH-TO/check_blesta_cron/CRON_check_blesta_cron.php
     
    OR
     
    4b/
    create the cron job using your server control panel menu
     
     
    N.B.: Depending of your OS, use:
     
    */15 * * * * php /PATH-TO/CRON_check_blesta_cron.php
     
    OR
     
    */15 * * * * /usr/bin/php /PATH-TO/CRON_check_blesta_cron.php

    -----------------------------------
    So the this cron will be runing every 15mins & will check that last Blesta's cron was not more old that 30mins from date-time-now.

    Please, read line 10 in CRON_check_blesta_cron.php if you want modify this value.


    When you are ready to use this script in PRODUCTION, Please read instruction at line 66 in CRON_check_blesta_cron.php file  
     
     
    HAPPY CRON!




     
    check_blesta_cron.zip
  13. Like
    serge got a reaction from PauloV in Send Notify Email About General Blesta's Cron Task Locked Or Stalled   
    Attached to this post, a poor man's cron script to check "health" of Blesta cron
     
    Basically it's check in Blesta log being  in Blesta database & table log_cron
    what is the max of end_date when `run_id` ='0'
     
    run_id` ='0  in table log_cron
    is matching to such Blesta cron output: "Attempting to run all tasks for ? XXX-COMPANY ? XXX-COMPANY.. All tasks have been completed."
     
    so this cron script definite an acceptable last cron end_date ($Accepted_last_end_date) from time now, it's (timeNow -30mins) but you can change it as explained in bellow instruction, so if Blesta  end_date in table log_cron was older(inferior) than this $Accepted_last_end_date, you will receive an email (by smtp), and no more email will be sent until Blesta cron back to normal (this to prevent you to received a lot of warning email in your email box....)
    -------------------
     
    Require Pear & Pear Mail -( ever installed by default on most servers).

    in console, check if pear is there, type:

    pear version
     
     
    install on debian:
    ---------------------

    apt-get install php-pearl

    pear install mail

    pear install Net_SMTP

    pear install Auth_SASL

    pear install mail_mime
     
    ----------------
    optional, require php cli (php5-cli) , for testing & see echo messages.


    ---------------
    Decompress zip archive and place "check_blesta_cron" dir at one level above of your public_html dir ,

    example, if you have path:
    /home/YOUR-USER/public_html

    place "check_blesta_cron" dir here:
    /home/YOUR-USER/

    --------------
    Be aware that putting "check_blesta_cron" dir inside "public_html" is NOT SECURE.
    If you want to do it, for doing WEB CRON, create a directory protected by password.
    --------------



    1/ "open_custom_blesta_db_connection.php" file & at top from line 5 to 8:  fill your Blesta database connection details


    2/ "CRON_check_blesta_cron.php" :
     
    - make time zone definited at line 7 be same as time zone chosen in Blesta admin area & menu: /settings/company/general/localization/

     - check/fill from line 103 to 115 , with your email address &  smtp parameters

    - for TESTING if the sending of email work, read test instruction at line 64


    3/
    run "CRON_check_blesta_cron.php" :

    3a/
    - if you have console (command line access) use php CLI in console, to run test, type:

    cd /PATH-TO/check_blesta_cron/
    php CRON_check_blesta_cron.php

    4/
    For create a recurrent run (cronjob)

    4a/
    - use crontab & in console, type (if your user is not root just change root to your-user):

    crontab -u root -e

    Next ad this line in crontab:

    */15 * * * * php /PATH-TO/check_blesta_cron/CRON_check_blesta_cron.php
     
    OR
     
    4b/
    create the cron job using your server control panel menu
     
     
    N.B.: Depending of your OS, use:
     
    */15 * * * * php /PATH-TO/CRON_check_blesta_cron.php
     
    OR
     
    */15 * * * * /usr/bin/php /PATH-TO/CRON_check_blesta_cron.php

    -----------------------------------
    So the this cron will be runing every 15mins & will check that last Blesta's cron was not more old that 30mins from date-time-now.

    Please, read line 10 in CRON_check_blesta_cron.php if you want modify this value.


    When you are ready to use this script in PRODUCTION, Please read instruction at line 66 in CRON_check_blesta_cron.php file  
     
     
    HAPPY CRON!




     
    check_blesta_cron.zip
  14. Like
    serge got a reaction from a.daniello in Send Notify Email About General Blesta's Cron Task Locked Or Stalled   
    Attached to this post, a poor man's cron script to check "health" of Blesta cron
     
    Basically it's check in Blesta log being  in Blesta database & table log_cron
    what is the max of end_date when `run_id` ='0'
     
    run_id` ='0  in table log_cron
    is matching to such Blesta cron output: "Attempting to run all tasks for ? XXX-COMPANY ? XXX-COMPANY.. All tasks have been completed."
     
    so this cron script definite an acceptable last cron end_date ($Accepted_last_end_date) from time now, it's (timeNow -30mins) but you can change it as explained in bellow instruction, so if Blesta  end_date in table log_cron was older(inferior) than this $Accepted_last_end_date, you will receive an email (by smtp), and no more email will be sent until Blesta cron back to normal (this to prevent you to received a lot of warning email in your email box....)
    -------------------
     
    Require Pear & Pear Mail -( ever installed by default on most servers).

    in console, check if pear is there, type:

    pear version
     
     
    install on debian:
    ---------------------

    apt-get install php-pearl

    pear install mail

    pear install Net_SMTP

    pear install Auth_SASL

    pear install mail_mime
     
    ----------------
    optional, require php cli (php5-cli) , for testing & see echo messages.


    ---------------
    Decompress zip archive and place "check_blesta_cron" dir at one level above of your public_html dir ,

    example, if you have path:
    /home/YOUR-USER/public_html

    place "check_blesta_cron" dir here:
    /home/YOUR-USER/

    --------------
    Be aware that putting "check_blesta_cron" dir inside "public_html" is NOT SECURE.
    If you want to do it, for doing WEB CRON, create a directory protected by password.
    --------------



    1/ "open_custom_blesta_db_connection.php" file & at top from line 5 to 8:  fill your Blesta database connection details


    2/ "CRON_check_blesta_cron.php" :
     
    - make time zone definited at line 7 be same as time zone chosen in Blesta admin area & menu: /settings/company/general/localization/

     - check/fill from line 103 to 115 , with your email address &  smtp parameters

    - for TESTING if the sending of email work, read test instruction at line 64


    3/
    run "CRON_check_blesta_cron.php" :

    3a/
    - if you have console (command line access) use php CLI in console, to run test, type:

    cd /PATH-TO/check_blesta_cron/
    php CRON_check_blesta_cron.php

    4/
    For create a recurrent run (cronjob)

    4a/
    - use crontab & in console, type (if your user is not root just change root to your-user):

    crontab -u root -e

    Next ad this line in crontab:

    */15 * * * * php /PATH-TO/check_blesta_cron/CRON_check_blesta_cron.php
     
    OR
     
    4b/
    create the cron job using your server control panel menu
     
     
    N.B.: Depending of your OS, use:
     
    */15 * * * * php /PATH-TO/CRON_check_blesta_cron.php
     
    OR
     
    */15 * * * * /usr/bin/php /PATH-TO/CRON_check_blesta_cron.php

    -----------------------------------
    So the this cron will be runing every 15mins & will check that last Blesta's cron was not more old that 30mins from date-time-now.

    Please, read line 10 in CRON_check_blesta_cron.php if you want modify this value.


    When you are ready to use this script in PRODUCTION, Please read instruction at line 66 in CRON_check_blesta_cron.php file  
     
     
    HAPPY CRON!




     
    check_blesta_cron.zip
  15. Like
    serge got a reaction from Joseph H in Send Notify Email About General Blesta's Cron Task Locked Or Stalled   
    Attached to this post, a poor man's cron script to check "health" of Blesta cron
     
    Basically it's check in Blesta log being  in Blesta database & table log_cron
    what is the max of end_date when `run_id` ='0'
     
    run_id` ='0  in table log_cron
    is matching to such Blesta cron output: "Attempting to run all tasks for ? XXX-COMPANY ? XXX-COMPANY.. All tasks have been completed."
     
    so this cron script definite an acceptable last cron end_date ($Accepted_last_end_date) from time now, it's (timeNow -30mins) but you can change it as explained in bellow instruction, so if Blesta  end_date in table log_cron was older(inferior) than this $Accepted_last_end_date, you will receive an email (by smtp), and no more email will be sent until Blesta cron back to normal (this to prevent you to received a lot of warning email in your email box....)
    -------------------
     
    Require Pear & Pear Mail -( ever installed by default on most servers).

    in console, check if pear is there, type:

    pear version
     
     
    install on debian:
    ---------------------

    apt-get install php-pearl

    pear install mail

    pear install Net_SMTP

    pear install Auth_SASL

    pear install mail_mime
     
    ----------------
    optional, require php cli (php5-cli) , for testing & see echo messages.


    ---------------
    Decompress zip archive and place "check_blesta_cron" dir at one level above of your public_html dir ,

    example, if you have path:
    /home/YOUR-USER/public_html

    place "check_blesta_cron" dir here:
    /home/YOUR-USER/

    --------------
    Be aware that putting "check_blesta_cron" dir inside "public_html" is NOT SECURE.
    If you want to do it, for doing WEB CRON, create a directory protected by password.
    --------------



    1/ "open_custom_blesta_db_connection.php" file & at top from line 5 to 8:  fill your Blesta database connection details


    2/ "CRON_check_blesta_cron.php" :
     
    - make time zone definited at line 7 be same as time zone chosen in Blesta admin area & menu: /settings/company/general/localization/

     - check/fill from line 103 to 115 , with your email address &  smtp parameters

    - for TESTING if the sending of email work, read test instruction at line 64


    3/
    run "CRON_check_blesta_cron.php" :

    3a/
    - if you have console (command line access) use php CLI in console, to run test, type:

    cd /PATH-TO/check_blesta_cron/
    php CRON_check_blesta_cron.php

    4/
    For create a recurrent run (cronjob)

    4a/
    - use crontab & in console, type (if your user is not root just change root to your-user):

    crontab -u root -e

    Next ad this line in crontab:

    */15 * * * * php /PATH-TO/check_blesta_cron/CRON_check_blesta_cron.php
     
    OR
     
    4b/
    create the cron job using your server control panel menu
     
     
    N.B.: Depending of your OS, use:
     
    */15 * * * * php /PATH-TO/CRON_check_blesta_cron.php
     
    OR
     
    */15 * * * * /usr/bin/php /PATH-TO/CRON_check_blesta_cron.php

    -----------------------------------
    So the this cron will be runing every 15mins & will check that last Blesta's cron was not more old that 30mins from date-time-now.

    Please, read line 10 in CRON_check_blesta_cron.php if you want modify this value.


    When you are ready to use this script in PRODUCTION, Please read instruction at line 66 in CRON_check_blesta_cron.php file  
     
     
    HAPPY CRON!




     
    check_blesta_cron.zip
  16. Like
    serge got a reaction from Michael in Cron Task Locked Improvements   
    Just posted in the contribute section,
    : http://www.blesta.com/forums/index.php?/topic/4073-send-notify-email-about-general-blestas-cron-task-locked-or-stalled/
  17. Like
    serge got a reaction from Michael in Send Notify Email About General Blesta's Cron Task Locked Or Stalled   
    Attached to this post, a poor man's cron script to check "health" of Blesta cron
     
    Basically it's check in Blesta log being  in Blesta database & table log_cron
    what is the max of end_date when `run_id` ='0'
     
    run_id` ='0  in table log_cron
    is matching to such Blesta cron output: "Attempting to run all tasks for ? XXX-COMPANY ? XXX-COMPANY.. All tasks have been completed."
     
    so this cron script definite an acceptable last cron end_date ($Accepted_last_end_date) from time now, it's (timeNow -30mins) but you can change it as explained in bellow instruction, so if Blesta  end_date in table log_cron was older(inferior) than this $Accepted_last_end_date, you will receive an email (by smtp), and no more email will be sent until Blesta cron back to normal (this to prevent you to received a lot of warning email in your email box....)
    -------------------
     
    Require Pear & Pear Mail -( ever installed by default on most servers).

    in console, check if pear is there, type:

    pear version
     
     
    install on debian:
    ---------------------

    apt-get install php-pearl

    pear install mail

    pear install Net_SMTP

    pear install Auth_SASL

    pear install mail_mime
     
    ----------------
    optional, require php cli (php5-cli) , for testing & see echo messages.


    ---------------
    Decompress zip archive and place "check_blesta_cron" dir at one level above of your public_html dir ,

    example, if you have path:
    /home/YOUR-USER/public_html

    place "check_blesta_cron" dir here:
    /home/YOUR-USER/

    --------------
    Be aware that putting "check_blesta_cron" dir inside "public_html" is NOT SECURE.
    If you want to do it, for doing WEB CRON, create a directory protected by password.
    --------------



    1/ "open_custom_blesta_db_connection.php" file & at top from line 5 to 8:  fill your Blesta database connection details


    2/ "CRON_check_blesta_cron.php" :
     
    - make time zone definited at line 7 be same as time zone chosen in Blesta admin area & menu: /settings/company/general/localization/

     - check/fill from line 103 to 115 , with your email address &  smtp parameters

    - for TESTING if the sending of email work, read test instruction at line 64


    3/
    run "CRON_check_blesta_cron.php" :

    3a/
    - if you have console (command line access) use php CLI in console, to run test, type:

    cd /PATH-TO/check_blesta_cron/
    php CRON_check_blesta_cron.php

    4/
    For create a recurrent run (cronjob)

    4a/
    - use crontab & in console, type (if your user is not root just change root to your-user):

    crontab -u root -e

    Next ad this line in crontab:

    */15 * * * * php /PATH-TO/check_blesta_cron/CRON_check_blesta_cron.php
     
    OR
     
    4b/
    create the cron job using your server control panel menu
     
     
    N.B.: Depending of your OS, use:
     
    */15 * * * * php /PATH-TO/CRON_check_blesta_cron.php
     
    OR
     
    */15 * * * * /usr/bin/php /PATH-TO/CRON_check_blesta_cron.php

    -----------------------------------
    So the this cron will be runing every 15mins & will check that last Blesta's cron was not more old that 30mins from date-time-now.

    Please, read line 10 in CRON_check_blesta_cron.php if you want modify this value.


    When you are ready to use this script in PRODUCTION, Please read instruction at line 66 in CRON_check_blesta_cron.php file  
     
     
    HAPPY CRON!




     
    check_blesta_cron.zip
  18. Like
    serge got a reaction from Michael in Email Not Being Sent On Invoice Creation   
    Thxs to Tyson about explanation on Cron task Lock in Blesta.
     
    Just to share, as my concern was to have a safe 2 mins cron frequency, (my above previous script & lock was not good)
    I finally found more deadly easy solution using solo, and that work fine on blesta cron:
     
    http://timkay.com/solo/
     
    Naturally this beats working with lock/PID files, because an open port is directly tied to a running process, and chances of inconsistency and having to detect and cleanup orphaned PID files, are zero.
     
    and regarding 2mins cron frequency VS 5mins recommended by default, I'm not a believers it will consume a lot of resources, if we should avoid using php resources, we should be also afraid when customers load website pages as powered all by php.
     
    Solo, need you have Perl installed on your server
     
    to create the solo file from console (if you do not have console access ? see my below post):
    -----------------------------------------------------------------------------------------------------

    curl -q http://timkay.com/solo/solo -o /usr/local/bin/solo \
      && chmod a+x $_
     
     
    CREATE THE CRONJOB:
    -------------------------------
     
    open crontab as root in console(if your user is not root just change root to your-user):
    -------------------------------------------------------------------------------------------
    crontab -u root -e
     
     
    Next ad this line in crontab:
    --------------------------------
    */2 * * * * /usr/local/bin/solo -port=5001 php /PATH-TO-BLESTA/index.php cron
     
     
    OR
     
    Create the cron job using your server control panel menu
     
     
    N.B.: Depending of your OS, use:
     
    */2 * * * * /usr/local/bin/solo -port=5001 php /PATH-TO-BLESTA/index.php cron
     
    OR
     
    */2 * * * * /usr/local/bin/solo -port=5001 /usr/bin/php /PATH-TO-BLESTA/index.php cron
     
     
     
    N.B.:
    ----
    As root you can use any available port above 1023. The maximum allowed port number is 65535,  but use only one port by cron.
    In above case, cron frequency is 2 mins.
     
    Next,
    --------
    Check in Database Table cron_task_runs table, take note of what are the task_id you want to speed the cron interval.

    In my case it was task_id : 4, 5, 18 as I want new ordered service when paid, be fast activated

    And open Table task_id in database, and edit row where task_id & company_id you want to speed interval, & update interval, In my case I have updated all above task_id to interval 2 . (2mins)
     
     
    --------------------------
    Ref.:  http://kvz.io/blog/2012/12/31/lock-your-cronjobs/
     
    The Flow
    Can it open your port ?             so it's will be starting Blesta cron script Can't open your port?Never mind, Blesta cron script is probably still running, will try again next time Naturally this beats working with lock/PID files, because an open port is directly tied to a running process, and chances of inconsistency and having to detect and cleanup orphaned PID files, are zero.
    ------------------------
  19. Like
    serge got a reaction from Blesta Addons in Cron Task Locked Improvements   
    1. send notify via email about cron task locked or stalled (staff member can try to fix the problem, if present, asap); I just created a poor man's script that's work fine for that, I will be posting it tomorrow in the contribution forum section.
  20. Like
    serge reacted to Tyson in Email Not Being Sent On Invoice Creation   
    Cron tasks in Blesta are locked down already to disallow them to be run again when they are currently running. There is no need to write a temp file to perform this check. You may want to look into better implementations of semaphores for your other projects.
     
    The 5 minute interval only means that it will take at most 5 minutes for the action to take place (assuming the cron is running normally). You could change this to 1 minute, and then have your cron run every minute, but as you mentioned, that could bring up other issues.
  21. Like
    serge got a reaction from Michael in In Client Area & Dasboard: Hide Option To Change Invoice Delivery Or Automatic Payment When No Other Choice Exist   
    in my case, only having one method available,
     
    I just removed these info from  this file /app/views/client/MY-THEME/client_services_service_infobox.pdt
  22. Like
    serge reacted to Michael in In Client Area & Dasboard: Hide Option To Change Invoice Delivery Or Automatic Payment When No Other Choice Exist   
    You can use the css / js / php / html toolbox for this at the moment but it's coming soon as CORE-1467.
  23. Like
    serge reacted to Paul in Pending Services Getting Approved Without Me Doing Anything   
    I created CORE-1556 a couple weeks ago to address this. It will ensure the billing overview widget is installed by default, on the primary staff user upon installation. It's very easy to overlook when it's not there by default.
  24. Like
    serge reacted to Michael in Changing "paypal Payments Standard" Label   
    Gateway Language file.
    components/gateways/nonmerchant/paypal_payments_standard/language/en_us/paypal_payments_standard.php
  25. Like
    serge reacted to Paul in Transactions Info On Invoice.   
    Agreed. Please see CORE-1573
×
×
  • Create New...