Skip to content

Instantly share code, notes, and snippets.

How to use Supervisor:A Process Control System for Laravel queue In Linux based OS

What is Supervisor: A Process Control System?

Supervisor is a client/server system that allows its users to monitor and control a number of processes on UNIX-like operating systems. Supervisor provides you with one place to start, stop, and monitor your processes. Processes can be controlled individually or in groups. You can configure Supervisor to provide a local or remote command line and web interface.


Why do we use Supervisor for Larave Queue?

The supervisor is a process manager which Laravel suggests to use as a process monitor for queue workers. It will automatically start the queue worker in the background, even after the system has booted and will automatically restart the worker if the worker exits unexpectedly.

Pipeline still running ...
PipelineRun is still running: Tasks Completed: 20 (Failed: 0, Cancelled 0), Incomplete: 2, Skipped: 8
[set-github-status-pending : set-github-status] + '[' false == true ']'
[set-github-status-pending : set-github-status] + echo 'Setting github status of commit fcb24c2208fbf03d764ffcf167e1fe8456d2ed29 to pending'
[set-github-status-pending : set-github-status] Setting github status of commit fcb24c2208fbf03d764ffcf167e1fe8456d2ed29 to pending
[set-github-status-pending : set-github-status] + set-github-status --git-repo-url git@github.com:redhat-openshift-ecosystem/operator-pipelines-test.git --commit-sha fcb24c2208fbf03d764ffcf167e1fe8456d2ed29 --status pending --context operator/publish --description 'Pipeline for operator distribution has started.'
[set-github-status-pending : set-github-status] 2025-03-13 12:36:14,638 [operator-cert] INFO Successfully set status to pending for commit fcb24c2208fbf03d764ffcf167e1fe8456d2ed29 in github repo git@github.com:redhat-openshift-ecosyste
def hw():
print("hello world")
@lvanasse
lvanasse / ci-risc-v-01.log
Created March 13, 2025 12:39
[risc-v-01] CI Log for nuttx @ e0b02314e6e28b10ee84837bfe62b1e48700f85a / nuttx-apps @ 3b03636e95f6202b512d8af32629da4c0dc4af2c
fpu.c:57:8: warning: #warning "FPU test not built; Only available in the flat build (CONFIG_BUILD_FLAT)" [-Wcpp]
adc_main.c:312:22: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long unsigned int' [-Wformat=]
fpu.c:57:8: warning: #warning "FPU test not built; Only available in the flat build (CONFIG_BUILD_FLAT)" [-Wcpp]
Script started on 2025-03-13 12:27:54+00:00 [COMMAND="/home/ludovic/nuttx-release/run-job.sh risc-v-01" <not executed on terminal>]
Now running https://github.com/lupyuen/nuttx-release/blob/main/run-job.sh
Called by https://github.com/lupyuen/nuttx-release/blob/main/run-ci.sh
+ job=risc-v-01
+ neofetch
.-/+oossssoo+/-.
`:+ssssssssssssssssss+:`
@choco-bot
choco-bot / 1.RegistrySnapshot.xml
Created March 13, 2025 12:39
ericards v3.9.2 - Passed - Package Tests Results
<?xml version="1.0" encoding="utf-8"?>
<registrySnapshot xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<user>S-1-5-21-1966971710-39970128-2001927738-1000</user>
<keys>
<key installerType="Unknown" displayName="Cefic ERICards Offline (Remove only)" displayVersion="3.9.0.2">
<RegistryView>Registry64</RegistryView>
<KeyPath>HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Ericards.NET</KeyPath>
<DefaultValue />
<InstallLocation><![CDATA[]]></InstallLocation>
<UninstallString><![CDATA[C:\Program Files (x86)\Cefic ERICards Offline\Uninstall.exe]]></UninstallString>
@HugsLibRecordKeeper
HugsLibRecordKeeper / output_log.txt
Created March 13, 2025 12:39
Rimworld output log published using HugsLib
This file has been truncated, but you can view the full file.
Log uploaded on Thursday, March 13, 2025, 8:39:47 PM
Loaded mods:
Prepatcher(zetrith.prepatcher): 0Harmony(2.3.3), 0PrepatcherAPI(1.2.0), 0PrepatcherDataAssembly(1.0.0), PrepatcherImpl(1.0.0), Prestarter(1.0.0)
Harmony(brrainz.harmony)[mv:2.3.1.0]: 0Harmony(2.3.3), HarmonyMod(2.3.1)
Fishery - Modding Library(bs.fishery): 0PrepatcherAPI(1.2.0), 1Fishery(0.6.1), System.Runtime.CompilerServices.Unsafe(av:6.0.0,fv:6.0.21.52210)
Core(Ludeon.RimWorld): (no assemblies)
Performance Fish(bs.performance): PerformanceFish(0.6.2)
Royalty(Ludeon.RimWorld.Royalty): (no assemblies)
Ideology(Ludeon.RimWorld.Ideology): (no assemblies)
{
"passed": true,
"results": {
"errors": [],
"failed": [],
"passed": [
{
"description": "Check to make sure that all CRs have a spec block.",
"elapsed_time": 5244.0,
"name": "ScorecardBasicSpecCheck"
@jfoshee
jfoshee / Program.cs
Created March 13, 2025 12:39
Delete retained builds for a specific build definition in Azure DevOps.
using System.Net.Http.Json;
/// <summary>
/// Delete retained builds for a specific build definition in Azure DevOps.
/// </summary>
static async Task CleanRetainedBuildsAsync()
{
// Configuration
string organization = "my-org";
string project = "my-proj";
**You are an expert in marketing and human psychology, well-versed in Dale Carnegie’s principles from How to Win Friends and Influence People. Your role is to guide a prospect from a Facebook Messenger conversation toward booking a Calendly appointment with us—but only if you determine we can genuinely help them.
Conversation Flow & Goals
Phase 1: Casual & Friendly Introduction
Be Curious & Relatable: Start with a light, friendly tone.
Reference Their Activity Naturally: Mention the group they’re in, the person they follow, or the post they liked as a conversation starter—without making it feel like a sales pitch.
Discover Their Situation: Understand where they live, what they’re looking for, and whether they seek a job or opportunity.
Gauge Ambition & Readiness: Find out if they are open to investing in their skills and success.
Phase 2: Emotional Connection & Deeper Understanding
Mirror Their Emotions: Show genuine interest in their journey.
[
{
"name": "Unknown",
"value": "950,000"
}
]