Question: Recurring Invoices Work - Cron Job

Recurring Invoices Work - Cron Job

Hi, I'm using Simple Invoice version 4, and I can't make recurring invoices work. Can anyone help me, share here the CRON JOB command that causes recurring invoices to be created and sent a

F

FREE_PHP_BR

Asked

Hi, I’m using Simple Invoice version 4, and I can’t make recurring invoices work. Can anyone help me, share here the CRON JOB command that causes recurring invoices to be created and sent automatically to the customer, I’m using cPanel. Thanks

  • F

    FREE_PHP_BR

    Answered

    Okay, I’ll test it! I’m enjoying your support! Have you also added email sending for new recurring invoices created?

    Yes, I’m on Windows, and you added nom run build-only so if I use Linux, will it be ready for Linux or do I need to make another change?

  • MS

    Mian Saleem

    Answered

    Hello,

    It’s not nom but npm. My auto correction changed that 😦 The command is npm run build-only

    There is no change required for linux. All command should run fine.

    Yes, the command is updated to email the new invoice. There are 1 links added in the settings to generate invoices and send overdue invoices (just for the sake to make sure the commands are working) You should setup cron job and not use these link.

    Thank you

  • F

    FREE_PHP_BR

    Answered

    recurring invoice did not work neither bo create new invoce or send invoice csent a new invoice nor sent a notice of a slice sold

  • F

    FREE_PHP_BR

    Answered

    Hello friend! I tested the updated version from 2024/04/23.

    1 Recurring invoices are not being created or sent automatically to the customer’s email.

    If you click on the manual command button (Generate Invoice) that you added, yes, it generates and sends, but through CRON JOB it does not automatically generate or send

    2 Overdue invoices are not being automatically sent to the customer’s email.

    If you click on the manual command button (Send Overdue Invoice) that you added, yes, it sends, but through CRON JOB it does not automatically generate or send

    Can you resolve this today please? Since I bought this item I haven’t been able to use it because of these 2 problems that it doesn’t work, I’ve spent hours and nights awake testing it and it hasn’t worked.

    Help me brother, I know you can solve this! Thanks! God bless you!

    Suggestion, for sending new invoices generated and due, the admin should also receive notifications by email, so the admin can also monitor not only the customer.

    Another suggestion is that, when creating an invoice, whether recurring or non-recurring, the system automatically sends an email notification of the new invoice created to the customer.

  • MS

    Mian Saleem

    Answered

    Hello,

    1. The same command using to send generate and send invoices. So that’s would be your cron job issue. You can check it.

    2. Same cron job issue

    No, I can’t resolve the issue that caused by server but I can help you check.

    We are here it help whatever we can. Just for your information the item review is not for support but to review the item as per your experience. That’s not the tool to blackmail authors. I hope you got my point.

    No, system don’t send any notifications new invoice as most of our clients don’t do that so this is the manual process for you to click email icon after you have added invoice.

    We can admin notification in future updated but there are no promises for the release dates.

    Thank you

  • F

    FREE_PHP_BR

    Answered

    Hi brother, how can you help me with this? I have another invoice system running on this same server and the cron job and automatic invoices work well, I even installed simple invoice manager version 3 and CRON and automatic recurring and due invoices work well, so I don’t think it should NO a problem with CRON, only version 4 that is not working. I’m sorry, I’m not blackmailing you, I really admire you and your work, how can you help me?

    Do you want access to my cPanel to resolve this?

  • MS

    Mian Saleem

    Answered

    Hello,

    Please let me know your cPanel details in private reply. I will try to check and update you.

    You can add private reply by enabling the PRIVATE for Staff only at top right of reply section.

    Thank you

  • F

    FREE_PHP_BR

    Answered

    cPanel: https://wrbg.com.br:2083 User: wrbgcom Password: QXU+A5pZ8SIh

    App - Simples Invoice Manager Url: https://wrbg.com.br Email: [email protected] Password: 12345678

  • MS

    Mian Saleem

    Answered

    Hello,

    I have added the cron job. Please monitor for 2 - 3 days.

    Thank you

  • F

    FREE_PHP_BR

    Answered

    Hi, Simple Invoice Manager created an invoice and sent an overdue invoice notice, I will continue monitoring.

    I believe you didn’t make any changes to the files, other than the update on April 23rd, am I right? If you made changes, tell me the file and path so I can save it and add it to my backup code.

    1 I saw 2 crons, one starts with cd and the other starts with /usr/ which of these crons is the one that really works with the simple invoice manager?

    2 I create an invoice today, 25-04-2024 I set due date 25-04-2024 when I click save, in list invoice, this created invoice is displayed like this, Date: Apr 24 2024 Created on: Apr 25 2024, 08:39 Expiration date: April 24th. 2024

    Why does it show Date: Apr 24 2024 and Expiration Date: April 24th. 2024 and I created it on today’s date Created on: Apr 25 2024, 08:39 why does it show the previous day’s date? Would this be a system failure? Explain to me why it doesn’t make sense to create an invoice on today’s date and show the date and due date with the previous day (past, late) see the captures of ta, 001 and 002 attached

    3 The same happens with recurring invoices I create a recurring invoice (daily) set 1 day today, 25-04-2024 I set due date 25-04-2024 when I click on save, in list invoice, this created invoice is displayed like this, Date: Apr 24 2024 Created on: Apr 25 2024, 08:39 Expiration date: April 24th. 2024

    Why does it show Date: Apr 24 2024 and Expiration Date: April 24th. 2024 and I created it on today’s date Created on: Apr 25 2024, 08:39 why does it show the previous day’s date? Would this be a system failure? Explain to me why it doesn’t make sense to create an invoice on today’s date and show the date and due date on the previous day (past, late) It doesn’t make sense, the invoice is created on the 25th, shows with a date of the 24th and due on the 24th, see captures of ta, 0001 and 0002 attached

    4 I created a new daily recurring invoice, defined the date 26-04-2024 and due date 27-04-2024 with (daily and 1 day before)

    When saving invoice, this created invoice is displayed like this, Date: April 25th 2024 Created on: Apr 25 2024, 08:39 Expiration date: April 26th. 2024

    I don’t understand this, it’s getting confusing, please explain to me how it works and what dates I should define for and values before I should define them for the recurring ones like this

    We say that I want invoices generated every 30 days, (every 25th of each month) what start and due date and amount should I define in the form?

    Let’s say I want invoices generated every 12 months, (every 25th of each year) what start and due date and value should I define in the form?

    Let’s say I want invoices generated every 1 day, (every day 1 every day) what start and due date and value should I define in the form?

    We say that I want invoices generated every 7 days, (every week every 7 days) what start and due date and value should I define in the form?

    Please explain this to me better one by one. I have about 10 invoice systems and they all allow you to create an invoice with a start and due date on the same day, that is, created on 25-04-2024 due date 25-04-2024 create a recurring invoice with it, the next invoice will be created on 25 -05-2024 due 25-05-2024

    Why can’t I define and create an invoice with a start and due date on the same day? Can you resolve this?

    THANK YOU FOR THE GREAT SUPPORT

    Extra question, if I show you how the other invoice system added the WhatsApp button, and sends the invoice information to the customer (not PDF, just text) can you tell me how much you can do this extra service or if you Will it be added to a future update?

  • Login to Reply