Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (pypi.python.org).
Help us improve Python packaging - Donate today!

This program takes commandline input for the datafile from where configuration will be fetched.

Project Description
There are two functions present in the code.
1. status_check
2. enhanced_search


The input argument for the two function are same.
But outputs are different.status_check printsout "True" if the task should be executed immediately (If the
current time is between start time and end time).Prints 'False' otherwise

Whereas, enhanced_search serach printssout "True" if the task should be executed immediately, but if not,
it also prints out when the task would be picked up next.

Sample Input(status_check):-Email U1 India May/17/2015-00:00 May/17/2015-01:00
Output:- True

Sample Input(status_check):-Sms U1 India May/17/2015-00:00 May/17/2015-01:00
Output:- False

Sample Input(enhanced_search):-Email U1 India May/17/2015-00:00 May/17/2015-01:00
Output:- True

Sample Input(enhanced_search):-Sms U1 India May/17/2015-00:00 May/17/2015-01:00
Output:- Task will be picked up between: May/17/2015-21:00 to May/17/2015-22:00
Release History

Release History

This version
History Node

1.0.2

Download Files

Download Files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
Task_allocator.tar.gz (2.3 kB) Copy SHA256 Checksum SHA256 2.7 Wheel May 17, 2015

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting