---
schema_version: "1"
id: acaf947ae2724542622ee4c2a5256d7aed2461b34f4d015049e97486c491eaa6
title: Schedulable Interface
collection: legacydeveloper
version: current
locale: en-us
portal_url: https://docs.salesforce.com/legacydeveloper/current/en-us/apexref/apex_interface_system_schedulable.md
canonical_url: https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_interface_system_schedulable.htm
source_site: developer.salesforce.com
content_type: documentation
content_hash: 1e7a8ddde1785fbb5a249cc6d0e4105f323b15a67582092c8a84a38a4617d464
description: The class that implements this interface can be scheduled to run at different intervals.Executes the scheduled Apex job.
---
# Schedulable Interface

The class that implements this interface can be scheduled to run at different intervals.

## Namespace

[System](https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_namespace_System.htm "The System namespace provides classes and methods for core Apex functionality.")

#### See Also

- [_Apex Developer Guide_: Scheduler](https://developer.salesforce.com/docs/atlas.en-us.264.0.apexcode.meta/apexcode/apex_scheduler.htm "Apex Developer Guide: Scheduler - HTML (New Window)")

## Schedulable Methods

The following are methods for Schedulable.

- **[execute(context)](https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_interface_system_schedulable.htm#apex_System_Schedulable_execute)**  
    Executes the scheduled Apex job.

### execute(context)

Executes the scheduled Apex job.

#### Signature

public Void execute(SchedulableContext context)

#### Parameters

- **context**: Type: [System.SchedulableContext](https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_interface_system_schedulablecontext.htm#apex_interface_system_schedulablecontext "Represents the parameter type of a method in a class that implements the Schedulable interface and contains the scheduled job ID. This interface is implemented internally by Apex.") Contains the job ID.

#### Return Value

Type: Void