Apex Schedule Job every x minutes, e.g. every 5 minutes

In some rare cases, you need to schedule Apex jobs in minutes, here is an example to schedule an Apex job in every 5 minutes, change YourCustomScheduleClass to your custom schedule class name, then run following code in Anonymous Execution.

Previously we can only develop dev-hub orgs with VS Code Salesforce Extension. In the Winter 19 release, we can now develop any org with VS Code Salesforce Extension, which means we can now switch from Force.com Read more…