In WAL mode, SQLite copies the log back into the main file now and then. If some reader always has the file open, that copy can never finish and the -wal file keeps growing.
sqlite3 app.db "PRAGMA wal_checkpoint(TRUNCATE);"
0|0|0
The three numbers are: whether it was blocked (0 means no), how many pages the log held, and how many of them made it into the database. TRUNCATE waits for the writer, copies everything, and then cuts the -wal file back to zero bytes. A plain PRAGMA wal_checkpoint; is the gentler PASSIVE mode: it copies what it can without waiting and leaves the file at its size.
When the first number is 1, a reader or writer was in the way. Find the process that keeps a read transaction open, which is often a long-running script or a backup tool, and the problem goes away.
It is worth running before a plain file copy of a quiet database, so the main file holds everything. For a running app it is still a stopgap. If the log grows again every day, the real fix is in the app: close read transactions quickly. PRAGMA journal_size_limit can also cap how big the file stays after a checkpoint, which I find a cleaner fix than calling TRUNCATE from cron.
Further reading: PRAGMA wal_checkpoint, SQLite write-ahead logging