Path To Project on Cloudron
-
We are trying to get the laravel cron set up and the instruction on the IN site are to add. this line to crontab:
"* * * * * cd /path-to-your-project && php artisan schedule:run >> /dev/null 2>&1"
On a Cloudron install, what is the correct value for "/path-to-your-project"?
-
Hi @telos-one,
by definition the code of apps running on cloudron is often located in
/app/code
.But in the end a cron job for an app should be defined in the apps manifest. How this needs to look is documented at https://docs.cloudron.io/custom-apps/addons/#scheduler
-
@fbartels said in Path To Project on Cloudron:
Unfortunately I am not a developer so your answer is way over my head.
Ill try /app/code and see what happens
-
@nebulon - Its in the instructions in the Cloudron thread and in the Invoice Ninja docs.
We are trying to migrate form one self hosted instance to the new v5 instance and we are getting an error when we try and the red alert triangle at the bottom of the v5 dashboard saying "The CRONS need to be enabled."
I am now seeing this one that mentions laravel, the docs are a bit confusing and circular between Cloudron and Invoice Ninja.
https://invoiceninja.github.io/docs/self-host-troubleshooting/#cron-not-running-queue-not-running
I am surprised this is an issue, I figured stuff like CRON would be handled in the install from Cloudron like v4
-
@telos-one as far as I can tell from my previous investigation, this is just a warning initially for some time and it goes away. The tasks as such are run.
Anyways I will lock this topic, so we don't end up with 2 threads about the same thing.
-