--forceoption. This can be especially useful when developing locally.
Setting up Cron Jobs are for UNIX based machines like Mac and Linux only. Windows has a similar schedule called Task Scheduler which is similar but will require different instructions in setting it up.
schedule:runabove is useful and needed, we still need a way to run it every minute. We can do this with a cronjob on the server
If you are using a virtual environment for development purposes then you need to run the
envcommand inside your virtual environment.
PATHwe just copied. Once we do that our cron should look like:
* * * * *part is a must and bascially means "run this every minute by default". The next part is the location of your application which is dependant on where you installed your Masonite application.
&& source venv/bin/activateto the cron task. If you are not running in a virtual environment then you can leave that part out.
&& craft schedule:run