Free Trial

Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.

  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

8. Automated Tasks

Chapter 8. Automated Tasks

image with no caption

kmakice Look Ma, no hands! Find out how to make your applications run by themselves.

The suite of sample applications is almost complete. In Chapter 6 you saw how to set up the environment in which the tools function, and in Chapter 7 you got a tour of the web interfaces users will see when they interact with the tools. This chapter examines the code used to run the behind-the-scenes operations that give the tools their functionality.

Automated tasks run in the background at scheduled intervals to perform work without user oversight. They draw from what has been saved in the database through the web interfaces and what they have collected through the Twitter API. Servers manage the launching of these applications using commands set in a crontab file. For details on how to set up an automated task, see A Place to Call /home.


  

You are currently reading a PREVIEW of this book.

                                                                                                                    

Get instant access to over $1 million worth of books and videos.

  

Start a Free 10-Day Trial


  
  • Safari Books Online
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint