cookbook

Cromtit cookbook

A collection of useful scenarios for different cases

Restart Apache server

This example would restart Apache server every Sunday 08:00 local server time.

Bash task:

mkdir -p tasks/apache/restart/
cat << HERE > tasks/apache/restart/task.bash
sudo apachectl graceful
HERE

Tomtit scenario:

tom --edit apache-restart

#!raku

task-run "tasks/apache/restart";

Cromtit jobfile

projects:
  apache:
    path: git-repo-with-tomtit-scenarios
    action: restart
    crontab: "0 8 * * 0"

Cromtit v0.0.21

Cromtit - Run Tomtit scenarios as cron jobs and more

Authors

  • Alexey Melezhik

License

Artistic-2.0

Dependencies

YAMLishData::Dump

Test Dependencies

Provides

  • Cromtit

The Camelia image is copyright 2009 by Larry Wall. "Raku" is trademark of the Yet Another Society. All rights reserved.