|
1 | 1 | ################################################################################ |
2 | | -# atd.py - The Unix at scheduler in Python ################## py2k version 0.1 # |
| 2 | +# atd.py - The Unix at scheduler in Python ################ py2/3k version 0.2 # |
3 | 3 | ################################################################################ |
4 | 4 | # `at` is a command line utility, like cron, that schedules commands to be run # |
5 | 5 | # at a later time. Unlike cron, whose main purpose is to run a command every n # |
6 | | -# minutes, the purpose of `at` is to run a command once at a known time. # |
7 | | -# This makes `at` ideal for scheduling jobs. Say you want to run a command 6 # |
8 | | -# hours after an action is taken in your application, with `at` you can. `at` # |
9 | | -# also is superior to scheduling daemons that keep jobs in RAM, because it # |
10 | | -# writes its jobs to a recoverable spool on the disk. # |
| 6 | +# minutes, the purpose of `at` is to run a command once at a known time. This # |
| 7 | +# makes `at` ideal for scheduling jobs. Say you want to run a command 6 hours # |
| 8 | +# after an action is taken in your application, with `at` you can. `at` also # |
| 9 | +# is superior to scheduling daemons that keep jobs in RAM, because it writes # |
| 10 | +# its jobs to a recoverable spool on the disk. # |
11 | 11 | ################################################################################ |
12 | | -## Written by Fredrick Brennan <admin@8chan.co>. Expat License - See LICENSE. ## |
| 12 | +## Written by Fredrick Brennan <copypaste@kittens.ph>. See LICENSE (Expat). ## |
13 | 13 | ################################################################################ |
| 14 | + |
14 | 15 | from __future__ import absolute_import |
15 | 16 | from subprocess import check_output |
16 | 17 | import datetime |
|
0 commit comments