K Kituwa Automations
--:--
RC

Infrastructure · Cron

ReferStash Daily Codes

Tops up the ReferStash queue with two random offers a day, 21 days ahead.

Healthy Cron: 10 6 * * *

Control panel

Run it now or change the timing.

Read-only view. Unlock the controls to run jobs, post now, or change schedules.

Actions

ReferStash Daily Codes controls

Change the cron schedule

Five fields: minute hour day-of-month month day-of-week.

Timing

Cron job and output.

The control panel above can run this job now or rewrite its five-field cron schedule.

Cron

/etc/cron.d/referstash-daily-codes

Schedule
10 6 * * *
Command
ubuntu cd /home/ubuntu/fb-nostalgia-autoposter && /usr/bin/flock -n /tmp/referstash-daily.lock /usr/bin/python3 scripts/queue_referstash_daily.py --days 21 >> /home/ubuntu/fb-nostalgia-autoposter/data/logs/referstash-daily.log 2>&1
Health
Healthy

Logs

Latest output

}
offers: 21 from live API (pool=personal)
brands in pool: 19
scheduled 193 referstash-daily-20261209-am 2026-12-09T11:00:00-05:00 SearchAll.shop terminal
scheduled 194 referstash-daily-20261209-pm 2026-12-09T18:00:00-05:00 Cricket Wireless hero
{
  "created": 2,
  "scheduled": 2,
  "skipped": 40,
  "retried": 0,
  "failures": []
}

Paths and runbook

Where it lives, how to run it.

Token values are never rendered. Copy paths and commands directly from here.

Paths

Files and services

Cron /etc/cron.d/referstash-daily-codes
Logs /home/ubuntu/fb-nostalgia-autoposter/data/logs/referstash-daily.log

Runbook

Commands

Run now
cd /home/ubuntu/fb-nostalgia-autoposter && /usr/bin/flock -n /tmp/referstash-daily.lock /usr/bin/python3 scripts/queue_referstash_daily.py --days 21
Logs
tail -f /home/ubuntu/fb-nostalgia-autoposter/data/logs/referstash-daily.log