Skip to content

Instantly share code, notes, and snippets.

@echibi
echibi / Laravel-Scheduler-Windows.md
Created September 1, 2020 13:46 — forked from Splode/Laravel-Scheduler-Windows.md
Laravel Scheduler on Windows

Run Laravel Scheduled Tasks on Windows

The following are instructions for running scheduled tasks defined in a Laravel project on Windows. The Laravel documentation provides instructions for running scheduled tasks using cron jobs on Linux systems. However, cron jobs are not available on Windows. The built-in Windows Task Scheduler can be used to run scheduled tasks instead.

Create a Scheduled Task

  1. Open Task Scheduler
  2. Select Create Task...
  3. Give the task a name and description
  4. To run the task in the background, select Run whether the user is logged on or not and check the Hidden checkbox.
@echibi
echibi / .bash_profile
Last active April 6, 2020 08:06 — forked from natelandau/.bash_profile
Mac OSX Bash Profile
PATH="/usr/local/opt/gnu-sed/libexec/gnubin:$PATH"
export NVM_DIR="~/.nvm"
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm
source /usr/local/etc/bash_completion.d/git-completion.bash
# ---------------------------------------------------------------------------
#