SALES: 1-800-867-1380

Schedule jobs

Updated: April 15, 2014

Microsoft Azure Mobile Services enables you to register business logic that is executed by Mobile Services either on a schedule that you define or on-demand from the Management Portal.

Some periodic tasks required by your mobile service that can be scheduled include:

  • Removing duplicate records from a table.

  • Archiving old data records.

  • Requesting and storing external data, such as tweets, RSS entries, and location information.

  • Processing or resizing stored images.

For a JavaScript backend mobile service, you define a job as server script code in the Management Portal. For a .NET backend mobile service, you define a job as a class that inherits from the ScheduledJob class. This class is then registered in the Management Portal.

By default, new jobs are created in a disabled state. You should enable jobs after you have successfully tested them. You can test a job after you create it by clicking the job and then clicking Run Once. Errors in job scripts are written to the logs.

When your mobile service runs in the Free tier, you can create only one scheduled job at a time; in paid tiers, you can create up to ten scheduled jobs at the same time. For more details, see Mobile Services pricing details.

For more information about how to schedule jobs, see Schedule backend jobs in Mobile Services

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft