How to create a WebJob

Overview

A Web Job runs a script or an executable on your site, either on demand, on a schedule, or continuously in the background. This article covers creating one in the Everleap Control Panel.

Before you start: Web Jobs need a Reserved Cloud Server

Web Jobs are only available to sites running on a Reserved Cloud Server. If your site is on the Shared Cloud, the Web Jobs page shows this instead of the usual controls:

The Web Jobs page on a Shared Cloud site, showing the message that Web Jobs can only be configured for sites on a Reserved Cloud Server, with an Upgrade to a Reserved Cloud button

There is no Add button on that screen. If you see it, you need to move the site to a Reserved Cloud Server before you can continue.

Steps

  1. Log in to the Everleap Control Panel at cp.everleap.com.
  2. From the top menu click Shared Sites.
  3. On the Shared Cloud Sites Overview page, click Manage next to the applicable site.
  4. On the Site Overview page, find the General Information panel and click Manage on the Web Jobs row.
The General Information panel on the Site Overview page, showing the Web Jobs row with its Manage link
  1. Click the Add Web Job button.
The Web Jobs page on a Reserved Cloud site, showing the message You do not have any Web Jobs and the Add Web Job button
  1. Set Typeto the kind of Web Job you want:
  2. Enter a Web Job Name.
  3. Next to Zip File (2 MB max), click Choose File and select the .zip file containing your script or executable.
  4. Click Add.
The Add Web Job form, showing the Type dropdown set to Triggered, the Web Job Name field, the Zip File field with a 2 MB maximum, and the Add and Cancel buttons

Verify it worked

The new Web Job appears in the list on the Web Jobs page. Click Manage next to it to see its type, the status of the last run, and its run history.

Notes

  • The zip file is limited to 2 MB. Package only the script or executable and the files it needs.
  • Adding a Web Job switches Always On on for the site automatically. The Add form states this, and you do not need to set it yourself. Always On keeps the site from being spun down when it is idle, which a Web Job needs in order to keep running. See The Always On setting.
  • If a Web Job does not behave as expected, see WebJobs - Troubleshooting.

Related articles