Running schedule:run on Windows

Posted 3 years ago by bencarter78

Hi all

Is it possible to use the schedule command on a windows machine? If I run artisan schedule:run from my command line I get an error saying...

php artisan mailman:test > dev/null 2>&1 &
The system cannot find the path specified

It seems that this is something within the Laravel core however I only want to run this for a cron job so I have a scheduled task running this as someone suggested trying after a google...

php artisan mailman:test > NUL 2>&1

But this isn't working for me either. Does anyone have any experience of this? Can anyone give me a few ideas?

Thanks

Please sign in or create an account to participate in this conversation.

Reply to

Use Markdown with GitHub-flavored code blocks.