[Tutor] Scheduling Python Execution
Zaki Akhmad
zakiakhmad at gmail.com
Mon Apr 15 11:23:56 CEST 2013
On Mon, Apr 15, 2013 at 3:51 PM, Alan Gauld <alan.gauld at btinternet.com> wrote:
> multiple cron jobs will be less work for your computer than running a long
> term program constantly checking times and launching your scripts... That's
> called reinventing the wheel with a square one...
>
> There are more modern (and more efficent) replacements for cron but given
> your requirements cron still looks like the best bet.
Actually,
I want to write a twitter bot which runs on a specific time. For an
idea, I'd like to have this twitter bot tweet every sunrise and
sunset, everyday. Since everyday the sunrise and the sunset time are
vary, what are the best way to do it?
Should I entered the sunset and the sunrise manually?
Thanks!
--
Zaki Akhmad
More information about the Tutor
mailing list