{
  "id": 16932151,
  "title": "One table, two scheduled jobs: a lightweight way to automate company page posts",
  "url": "https://urgent.news/2026/10/28/one-table-two-scheduled-jobs-a-lightweight-way-to-automate-company",
  "topic": "tech",
  "section": "Tech",
  "published": "2026-10-28T17:26:48.000Z",
  "source": {
    "name": "Dev.to",
    "slug": "dev-to",
    "url": "https://dev.to/motorcarapp/one-table-two-scheduled-jobs-a-lightweight-way-to-automate-company-page-posts-3k1c"
  },
  "original_language": "en",
  "account": "The article discusses a lightweight approach to automating social media posts for a car marketplace in the UAE. Initially, the company automated LinkedIn postings but found the first design too complex. They settled on a simple schema with one table for planned and published posts. The table includes columns for the channel, state, due date, published date, remote URL, and notes on why posts were skipped or failed. There are two scheduled commands: one weekly for planning and a daily one for publishing. The publishing process involves checking content against rules, uploading thumbnails to LinkedIn, and managing OAuth tokens. The authors emphasize the importance of simplicity and avoiding unnecessary complexity.",
  "summary": "We run motorcar.ae , a car marketplace in the UAE. Some of our social posting was already automated, but our LinkedIn company page was still updated by hand. When we automated it, the most useful part of the work turned out to be deciding what not to build. The code below is a simplified example written for this post. Names, fields and times are illustrative, not our production setup. The first…",
  "key_points": [
    "One table holds planned and published posts for company pages",
    "Two scheduled jobs: weekly planning and daily publishing",
    "Simple schema avoids unnecessary complexity"
  ],
  "editors_take": null,
  "illustration": null,
  "coverage": {
    "outlets": 1,
    "also_reported_by": []
  },
  "ai_generated": true,
  "disclaimer": "Summaries, key points and the editor’s take are written by software from other outlets’ reporting and may contain errors — always check the linked original."
}