Home › Forums › Support › setting up cron This topic contains 3 replies, has 3 voices, and was last updated by intradesign 1 year, 6 months ago. Viewing 4 posts - 1 through 4 (of 4 total) Author Posts January 12, 2018 at 7:10 pm #11242 intradesignParticipant Hi there, I have a question concerning cronjobs… The invoiceninja docs say “Create a cron to call the ninja:send-invoices and ninja:send-reminders commands once daily.” 0 8 * * * /usr/local/bin/php /path/to/ninja/artisan ninja:send-invoices 0 8 * * * /usr/local/bin/php /path/to/ninja/artisan ninja:send-reminders What exactly does “/path/to/ninja/artisan” mean? I cannot find a folder named artisan within the invoiceninja root or the /ninja subfolder. I am running invoiceninja on a centOS 7 server with plesk. What can I do? Thanks very much, Timo January 12, 2018 at 7:23 pm #11243 zotyaParticipant artisan is a PHP file in the invoiceninja root January 12, 2018 at 8:46 pm #11245 TitanfailParticipant zotya’s got it. You’re essentially just running php artisan ninja:send-invoices (or send-reminders). The rest is just telling the system where to find the things you want to run. So by default, you’d be looking at something like 0 8 * * * /usr/local/bin/php /var/www/ninja/artisan ninja:send-invoices 0 8 * * * /usr/local/bin/php /var/www/ninja/artisan ninja:send-reminders and it would run those two tasks at 8am every day. January 13, 2018 at 7:13 am #11246 intradesignParticipant Thanks very much… now it works! Author Posts Viewing 4 posts - 1 through 4 (of 4 total) You must be logged in to reply to this topic.