#!/bin/bash while true do git pull origin master php artisan optimize sleep 10 done