<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Windows on seth-shi</title><link>https://sethix.com/tags/windows/</link><description>Recent content in Windows on seth-shi</description><generator>Hugo -- gohugo.io</generator><language>en</language><lastBuildDate>Fri, 02 Jul 2021 11:25:44 +0800</lastBuildDate><atom:link href="https://sethix.com/tags/windows/index.xml" rel="self" type="application/rss+xml"/><item><title>A Lesson Learned from Laradock Cron Job Failures</title><link>https://sethix.com/posts/2021070211/</link><pubDate>Fri, 02 Jul 2021 11:25:44 +0800</pubDate><guid>https://sethix.com/posts/2021070211/</guid><description>Debugging Steps The cron jobs in laradock are executed in the workspace container. Check logs using: docker-compose logs -f workspace Sample log output:
Jul 2 12:26:59 9b6ec4d18dd1 syslog-ng[12]: syslog-ng starting up; version=&amp;#39;3.13.2&amp;#39; workspace_1 | *** Booting runit daemon... workspace_1 | *** Runit started as PID 20 workspace_1 | Jul 2 12:27:00 9b6ec4d18dd1 cron[23]: (CRON) INFO (pidfile fd = 3) ... Enter the container: docker-compose exec workspace bash Test cron job execution without suppressing output: /usr/bin/php /var/www/artisan schedule:run Permission Issues Logs in /storage/logs showed permission errors when created by root user.</description></item></channel></rss>