Skip to main content

Plugin to mimic a cron for use with the Hitch testing framework.

Project description

HitchCron

HitchCron is a plugin for the Hitch test framework that lets you mimic the effect of having a cron run during your tests by running a command repeatedly.

Use with Hitch

Install like so:

$ hitch install hitchcron
# Service definition in engine's setUp:
self.services['Cron'] = hitchcron.CronService(
    run=self.services['Django'].manage("trigger").command,      # Python list containing command + args
    every=1,                                                    # Run every 1 seconds
)

See this service in action at the DjangoRemindMe project.

Project details


Download files

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

Source Distribution

hitchcron-0.2.tar.gz (2.6 kB view details)

Uploaded Source

File details

Details for the file hitchcron-0.2.tar.gz.

File metadata

  • Download URL: hitchcron-0.2.tar.gz
  • Upload date:
  • Size: 2.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for hitchcron-0.2.tar.gz
Algorithm Hash digest
SHA256 6bd531a2f78a87d519f41d3d8d01ede181afbf9661f3b54b95dea859d1062c12
MD5 f3a2f29f3d0f8285af9d3498352185ec
BLAKE2b-256 1be2db693c75b60de1f56f0de5704443a7ff15577d04daad705366c37c62ce93

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page