|||
  1. If a Job implements ShouldQueue the Job will be automatically added to the queue (as do both Shopify Statamic and Statamic Peak|Peak Social Image Generation (class ImportAllProductsJob implements ShouldQueue )
  2. Jobs are added to the schedule within app/Console/Kernel.phpschedule(), e.g.
protected function schedule(Schedule $schedule) { 
    $schedule->command('shopify:import:all')->everyFiveMinutes(); 
}
  1. The .env in Forge must be configured to use redis instead of sync as both QUEUE_CONNECTION and QUEUE_DRIVER:
QUEUE_CONNECTION=redis
QUEUE_DRIVER=redis
  1. A cronjob needs to call the artisan scheduler using scheduler:run , e.g. php /home/forge/stage.mysite.klick.re/artisan schedule:run
Up next Setup Statamic Static Caching What Statamic’s SAVE_CACHED_IMAGES really does I think I got SAVE_CACHED_IMAGES in Statamic wrong the whole time. I thought it’s about whether Glide-generated images are kept when clearing
Latest posts Pros and Cons of Reflect Notes App A Love Letter to Sublime Internet Lazy.so is an amazing tool. Here's why I don't keep it Look Around You Don’t ask what the world needs Carl Sagan has shown the absurdity of not acting against climate change back in 1990 On the plus sides of being a web designer Friday Deployment A success message that communicates the opposite of success Do not demand to be appreciated Craft Docs vs Bear Notes Figma AI Rant Epomaker TH80 Pro Polyamor, aber mit PKM apps 🫣 Ironie, die Fabi Rommel Helft der Natur Stimmen im Kopf - Flohmarkt croox website online Tiny Garden Paradise Oktober in Europa Figma Rant: forever assembling iCloud Drive Rant Schwiegerfuchs Same Vibe Tailwind and Web Craftsmanship Buttons with CSS Expand Basic Markdown Formatting in Apple Notes Cannot Divide by Zero in Peak Picture Partial Applying a Growth Mindset (Doodle) When Gmail Messages deleted in Apple Mail keep coming back