Run code every 10 minutes without going in tarpit?

I have a Twitter bot which I am running using PythonAnywhere, and I plan to have it tweet something specific every 10 minutes. However, already the code has went into the tarpit, with over 1400 seconds used so far.

At the moment, all the waiting is done within the program itself, during which nothing important is done. Is there a way (for free) that I can have my Python code run every 10 minutes?

Not on a free account, unfortunately :-(