Skip to content

Commit 62912c7

Browse files
committed
Version bump: v0.2
1 parent 5d7b625 commit 62912c7

File tree

5 files changed

+27
-24
lines changed

5 files changed

+27
-24
lines changed

atd/atd.py

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,17 @@
11
################################################################################
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 #
33
################################################################################
44
# `at` is a command line utility, like cron, that schedules commands to be run #
55
# 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. #
1111
################################################################################
12-
## Written by Fredrick Brennan <[email protected]>. Expat License - See LICENSE. ##
12+
## Written by Fredrick Brennan <[email protected]>. See LICENSE (Expat). ##
1313
################################################################################
14+
1415
from __future__ import absolute_import
1516
import sys
1617
import os

atd/atq.py

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,17 @@
11
################################################################################
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 #
33
################################################################################
44
# `at` is a command line utility, like cron, that schedules commands to be run #
55
# 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. #
1111
################################################################################
12-
## Written by Fredrick Brennan <[email protected]>. Expat License - See LICENSE. ##
12+
## Written by Fredrick Brennan <[email protected]>. See LICENSE (Expat). ##
1313
################################################################################
14+
1415
from __future__ import absolute_import
1516
from subprocess import check_output
1617
import datetime

atd/config.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
# Handle platform specific differences between `at`
66
if sys.platform == 'win32':
77
raise NotImplementedError('Windows does not support ' +
8-
'`at` out of the box. Try cygwin! <https://cygwin.com>')
8+
'`at` out of the box. Try cygwin! <https://cygwin.com> or MSYS2.')
99

1010
if sys.platform.startswith('linux') or \
1111
sys.platform.startswith('cygwin'):

atd/tests.py

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,16 @@
11
################################################################################
2-
# atd.py - The Unix at scheduler in Python ################## py2k version 0.1 #
3-
################################################################################
4-
## Written by Fredrick Brennan <[email protected]>. Expat License - See LICENSE. ##
2+
# atd.py - The Unix at scheduler in Python ################ py2/3k version 0.2 #
53
################################################################################
64
# Unit tests for AtQueue, AtJob, and `at` utilities... #
7-
# #
8-
# It is highly recommended to run the unit tests before using `atd.py` in a #
9-
# production environment. The unit tests can give you valuable information #
10-
# about the setup of your atd and whether atjob creation and cancelation #
11-
# is working as expected. #
125
################################################################################
6+
# It is highly recommended to run the unit tests before using `atd.py` in a #
7+
# production environment. The unit tests can give you valuable information #
8+
# about the setup of your atd and whether atjob creation and cancelation is #
9+
# working as expected. #
10+
################################################################################
11+
## Written by Fredrick Brennan <[email protected]>. See LICENSE (Expat). ##
12+
################################################################################
13+
1314
from __future__ import absolute_import
1415
from atd import atd, atq
1516
import unittest

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
long_description = fh.read()
55

66
setup(name='python-atd',
7-
version='0.1',
7+
version='0.2',
88
description='Unix `at` scheduler, for Python 3 and Python 2. Supports atq, atd, & atrm',
99
keywords='atq atrm atd at',
1010
long_description=long_description,

0 commit comments

Comments
 (0)