Help Setting up Cron


I’ve been trying to setup my invoice & recurring invoice cron’s

But I can get this to work.

I’m setting up the cron(s) in Cpanel

My invoice Ninja is in public_html/invoicing directory.

This is the comand that doesn’t work:
/usr/local/bin/php/home/xposurei/public_html/invoicing/artisan ninja:send-invoices

Set to 0 8 * * *

Any help with this would be very much appreciated.

1 Like


I think you may be missing a space between php and /home

Thanks hillel,

That worked for me.

But now for the “Send Reminders” Cron, it’ sending me an email saying the following:

Command “ninja:” is ambiguous.
Did you mean one of these?
ninja:send-invoices Send recurring …
ninja:remove-orphaned-documents Removes old doc…
ninja:reset-data Reset data
ninja:check-data Check/fix data
ninja:prune-data Delete inactive…
ninja:create-test-data Create Test Data
ninja:create-luis-data Create LUIS Data
ninja:mobile-localization Generate mobile…
ninja:send-renewals Send renewal in…
ninja:charge-renewals Charge renewal …
ninja:send-reminders Send reminder e…
ninja:test-ofx Test OFX
ninja:make-module Generate Module…
ninja:make-class Create class stub
ninja:init-lookup Initialize look…
ninja:calculate-payouts Calculate payouts
ninja:update-key {–database=} {–key=} {–legacy=} Update applicat…

Do you maybe have an extra space after the colon?


This is the command that I’m using:

/usr/local/bin/php /home/xposurei/public_html/invoicing/artisan ninja: send-reminders

You have an extra space after the ninja:

thanks so much for your help.