معرفی شرکت ها


cron-install-0.2.0


Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر

توضیحات

A simple command to install a cron table.
ویژگی مقدار
سیستم عامل -
نام فایل cron-install-0.2.0
نام cron-install
نسخه کتابخانه 0.2.0
نگهدارنده []
ایمیل نگهدارنده []
نویسنده Octopusmind
ایمیل نویسنده contact@octopusmind.info
آدرس صفحه اصلی https://github.com/jurismarches/cron_install
آدرس اینترنتی https://pypi.org/project/cron-install/
مجوز MIT
cron_install ############# |pypi-version| |travis| A simple command to install a cron table, and make it evolve over time. |logo| Use it in a deployement task to deploy a file containing your crontab. Usage ===== Call the command using the module name. Indicate a marker, unique on the host, with `-m` option, that will help identify the start / end of your specific tasks in crontab. Indicate a file containing your crontab. The file may reference environment variables, that will be replaced at installation time using the `python builtin template module`_. For example, if we have a file `crontab.tpl` containing:: MAILTO="$ADMIN_MAIL" # recompute the model 0 0 * * * python -m project.rebuild_model >>/dev/null # check stuff in $STUFF_DIRNAME */10 * * * /usr/local/bin/check_stuff $STUFF_DIRNAME >>/dev/null Launching:: $ ADMIN_MAIL="admin@acme.info" STUFF_DIRNAME="/srv/stuff" python3 -m cron_install -m MY_PROJECT crontab.tpl Will install the following table:: $ crontab -l # START MY_PROJECT MAILTO="admin@acme.info" # recompute the model 0 0 * * * python -m project.rebuild_model >>/dev/null # check stuff in /srv/stuff */10 * * * /usr/local/bin/check_stuff /srv/stuff >>/dev/null # END MY_PROJECT On a new run, all the part between `# START MY_PROJECT` and `# END MY_PROJECT`, will be replaced by the new crontab. .. _`python builtin template module`: https://docs.python.org/3.7/library/string.html#template-strings .. |pypi-version| image:: https://img.shields.io/pypi/v/cron_install.svg :target: https://pypi.python.org/pypi/cron_install :alt: Latest PyPI version .. |travis| image:: http://img.shields.io/travis/jurismarches/cron_install/master.svg?style=flat :target: https://travis-ci.org/jurismarches/cron_install .. |logo| image:: https://raw.githubusercontent.com/jurismarches/cron_install/master/cron_install-logo.svg


نحوه نصب


نصب پکیج whl cron-install-0.2.0:

    pip install cron-install-0.2.0.whl


نصب پکیج tar.gz cron-install-0.2.0:

    pip install cron-install-0.2.0.tar.gz