Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

kvnkrft's avatar

Could not open input file: /home/forge/dev.mysite.com/artisan

I'm trying to get scheduled tasks going, but I get this error message when I try to setup the scheduled task in Forge:

Could not open input file: /home/forge/dev.mysite.com/artisan

This is what is set as command:

php /home/forge/dev.mysite.com/artisan schedule:run

Any thoughts?

0 likes
2 replies
Braunson's avatar

What user is it running as on Forge? I'm using the same syntax but Forge is the user running the task..

1 like
kvnkrft's avatar
kvnkrft
OP
Best Answer
Level 3

@BRAUNSON - I figured it out, it was entirely my fault... typo.

So frustrating. Thanks for your help!

Please or to participate in this conversation.