TL;DR
floo, Railway, and Render can all host an inventory dashboard and its nightly job. The choice depends on whether the job should follow the web app’s deployment, and what should happen if the previous run is still going.
- floo runs the job in the web service’s image with its database connection. Publish the app and its schedule together.
- Railway schedules a separate service in the project. It skips a scheduled start when the previous execution is still active.
- Render gives the cron job its own service, compute size, and run history. The next scheduled run waits for the active one to finish.
One dashboard, one database, one daily report
An inventory dashboard records boxes and tape leaving the stockroom. A daily job reads the same Postgres tables, finds items at or below their reorder point, and saves the list the buyer sees the next time they open the app.
We ran the inventory template’s low-stock command against a fresh local Postgres database. After eight sample items and eleven stock movements, the job saved one report with four items. Packing tape made the list with 22 rolls on hand and a reorder point of 24. That gives you a result to check on any host. The hosting comparison below uses the providers’ documentation as of December 3, 2026.
How do you run the job alongside the app?
| Host | What you deploy | How to check a run |
|---|---|---|
| floo | Declare the schedule and command in the app config. Select the web service to reuse its image and environment, including the Postgres connection. | Trigger the named job in dev and read its logs. A failed command is retried twice by default. Cron jobs |
| Railway | Add a service for the job, give it the stock-check start command, set its cron schedule, and connect it to the same database. The command must close connections and exit. | Trigger the service with the cron CLI or inspect its latest run. If it stays active, the next scheduled start is skipped. Railway cron jobs |
| Render | Create a Cron Job from the repository or image. Set its command and schedule, and share the database connection through an environment group. | Open Runs for the output. A scheduled run waits for the previous one. Manually triggering a run cancels an active one. Render cron jobs |
Try the low-stock check on floo
Deploy the inventory tracker and open its repository in your terminal. The template schedules the check at 13:00 UTC. To run at 02:00 UTC instead, change schedule in its existing job and deploy the change:
[cron.low-stock]
schedule = "0 2 * * *"
command = "node_modules/.bin/tsx scripts/low-stock.ts"
service = "web"
timeout = 120
You can check the result in dev immediately:
floo cron run low-stock --env dev
floo logs query --cron low-stock --env dev --since 1h
Open the dev dashboard and check Last low-stock check against the job output. A fresh template starts empty. To reproduce the four-item result, load the sample data into an empty dev database first.
For a nightly sync that also updates stock from another system, store the last processed source ID with the inventory change so a retry cannot apply the same movement twice. For a live example of marketplace orders and inventory sharing one database, see 2nd Life Collectibles on floo.
What does a short daily job cost?
Suppose the check uses one vCPU and 0.5 GiB for one minute a day for 30 days. That is 0.5 vCPU-hours and 0.25 GiB-hours. The estimates below cover different billing units, so include the dashboard and database when budgeting for the whole app.
- floo: At the published job rates, those CPU and memory hours come to about $0.057 in job compute. Starter costs $4 per month and includes $4 of usage credit shared across the app. Database use, the web service, builds, and logs also consume credit. floo pricing
- Railway: Hobby costs $5 per month with $5 of resource usage included. The web service, database, and cron service all draw on that credit. Usage above it adds to the bill. Railway plans and usage
- Render: The cron service has a $1 monthly minimum and bills for active compute time. Add the web service and database separately. Cron billing and Render pricing
For a small team that already needs private sign-in and Postgres, floo keeps the job in the same release as the dashboard. Railway fits a team that wants to manage the job as a separate project service. Render fits a job that needs its own compute size and should wait when two scheduled runs overlap.