# CRON error (no such table: cache\_locks) but app works?

**URL:** <https://community.fly.io/t/cron-error-no-such-table-cache-locks-but-app-works/21329>\
**Category:** General\
**Tags:** sqlite, volumes, login-only\
**Created:** [August 14, 2024, 2:19pm UTC](https://community.fly.io/t/cron-error-no-such-table-cache-locks-but-app-works/21329 "2024-08-14T14:19:23Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![ashitag](https://avatars.discourse-cdn.com/v4/letter/a/ebca7d/32.png) [@ashitag](https://community.fly.io/u/ashitag)\
**Post date:** [August 20, 2024, 5:12pm UTC](https://community.fly.io/t/cron-error-no-such-table-cache-locks-but-app-works/21329/2 "2024-08-20T17:12:09Z")

</div>

Can you SSH into your ‘cron’ instance and run `ps aux | grep cron` and see if you get a result for ‘cron -f’ ?

when you run `cron -f` command it essentially looks for a directory like `etc/cron.d/` and loads cron jobs defined in this location.

Uploading your Dockerfile would help in understanding if there’s any issue.  
You might find solutions in this post to be useful-[Laravel Scheduler Cron Not Working](https://community.fly.io/t/laravel-scheduler-cron-not-working/8304)

---

_[View the full topic](https://community.fly.io/t/cron-error-no-such-table-cache-locks-but-app-works/21329)._
