Skip to main content

This package provides buildout recipes for the configuration of cron jobs. It creates files that are suitable for use in /etc/cron.d.

We use the system cron, so this recipe will not install cron for you. If you wish to install cron, use zc.recipe.cmmi perhaps.

Mandatory Parameters

command

The command to run from cron. Cron can’t handle multi-line commands, so n will become ‘ ‘.

script

Instead of command you can provide a script inline that will be saved to disk and run in the cronjob.

user

The account to run the command under

location

Where to write the cron entry to

Time Parameters

at

One of ‘reboot’, ‘yearly’, ‘monthly’, ‘weekly’, ‘daily’, ‘midnight’ or ‘hourly’

minute

Any integer from 0 to 59

hour

Any integer from 0 to 23

day

Any integer from 1 to 31 (must be a valid day if a month is specified)

month

Any integer from 1 to 12, or the short name of the month such as ‘jan’

day-of-week

Any integer from 0 to 7 (where 0 and 7 are Sunday), or a short name such as ‘mon’

You must specify at least one of the above. You can use normal cron notation here too.

Optional Parameters

environment-vars

Prepare the environment that your cron job will run under, for example setting PYTHONPATH

comments

Any comments made will be prefixed with ‘#’ and included in the generated files.

Repository

This software is available from our recipe repository on github.

License

Copyright 2010 Isotoma Limited

Licensed under the Apache License, Version 2.0 (the “License”); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an “AS IS” BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Release files for isotoma.recipe.crond 0.0.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for isotoma.recipe.crond 0.0.1
File Size Uploaded
isotoma.recipe.crond-0.0.1.tar.gz 4.0 kB Details

Release files / isotoma.recipe.crond-0.0.1.tar.gz

Download URL isotoma.recipe.crond-0.0.1.tar.gz
Size 4.0 kB
Tags Source
SHA-256 checksum
How to use checksums
3a56bdb433292d5744d9564ef512736d755acac4ced690363ec3fc49d050df08
BLAKE2b-256 checksum
How to use checksums
95ab1d0fe260511ab472b6b8b32739779f800db7757f482b2520dafb4ab711e6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

0.0.1 This release

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page