I was trying to create a cron task using the locally run cli based server but I could not get it to work as I could not create a cron task. It turns out crons are not supported on the locally run version. I’m trying the local hosted docker version but it could be the same issue. Does any one know ow where crons work and where this is documented?
Hi Nigel! We currently do not support cron jobs for in memory checkpointers, so you would need to use postgres checkpointing for cron jobs to work. You can do so by changing the checkpointer in your locally running graph, or by hosting your graph on LangGraph platform which automatically uses the postgres checkpointer. You can find our docs about cron jobs here.
Hi Isaac, thanks for getting back to me, the graph I have is not using a checkpoint. It simply fires input to another graph to collect gmail, it’s a JS version of the cron task in the Ambient Agents course. As far as I can tell the docker container version of LangSmith does fire up a Postgres container.