Book Image

Rake Task Management Essentials

By : Andrey Koleshko
Book Image

Rake Task Management Essentials

By: Andrey Koleshko

Overview of this book

Table of Contents (18 chapters)
Rake Task Management Essentials
Credits
About the Author
Acknowledgements
About the Reviewers
www.PacktPub.com
Preface
Index

Recurrent running of tasks


By now, everything is fine and there is nothing to disturb us; we have solved our issue, it's ready to use, and we can run it manually tomorrow, after tomorrow, and on any day in the future, or we can forgot about it completely. It would be great to run this task automatically each day or every week or even hourly. The main problem is how to run this task on the schedule. In Unix-like systems, there is a utility that enables these type of tasks—cron.

Note

To learn more about cron, use the man cron command on the Unix-like operating system; there is an excellent blog post about it at http://goo.gl/XZ4GrC. For people who use Windows, there is an analogue program at http://cronw.sourceforge.net. There is also a program included in Windows and you don't even have to install third-party tools for this at all. This tool is called Task Scheduler (http://en.wikipedia.org/wiki/Task_Scheduler).

We are not going to dive into the depth of cron now, but you need to know some basic...