Skip to content

Instantly share code, notes, and snippets.

@dkesberg
Created November 4, 2021 15:19
Show Gist options
  • Select an option

  • Save dkesberg/29cda9ee2e6629f5fd14c9c3862fb60e to your computer and use it in GitHub Desktop.

Select an option

Save dkesberg/29cda9ee2e6629f5fd14c9c3862fb60e to your computer and use it in GitHub Desktop.

Revisions

  1. dkesberg created this gist Nov 4, 2021.
    3 changes: 3 additions & 0 deletions schedule.sh
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,3 @@
    #!/usr/bin/env bash
    directory="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )"
    /usr/local/bin/php "$directory/artisan" schedule:run >> /dev/null 2>&1