Apex Test in Org Credentials and/or Git Backups in Git Snapshots are not running at the frequency specified.

When opening Org Credentials and/or Git Snapshots you may have noticed that the the Apex Test and/or the Git Backups are not running at the frequency that has been set.
The user running this jobs can be found following the steps below:

1. Go to Setup | Scheduled Jobs
2. Find a job with name "Copado"
3. Check the user who submitted the job.

Now that the user has been identified, check if the user has a Package license and a Copado License assigned.

For the Package license go to Setup | Installed Packages, click on Manage Licenses next to the Copado Deployer package. The user should be listed under Licensed Users.
For the Copado License go to the tab Copado License Manager. The user should be listed under Copado Users.

If the user that submitted the Copado job doesn't have the any of these 2 licenses, you have 2 options:

1. Assign the license(s) missing.
2. Recreate the Copado job with a user that has both licenses.

You can do this following the steps below:

1. Remove the Job Name "Copado" from the Scheduled Apex page.
2. Log in with a user that has a Copado license assigned.
3. Open an org Credential record that has Test Frequency set to something different that None.
4. Click Edit in the record and Save it without changing anything.
5. Go back to the Scheduled Jobs page. The Copado job should be there but this time submitted by the user that has the Copado license assigned.

If you want the "Preferred Start Time" in the job to be different that the one that is set automatically, you will have recreate the job doing the following:

1. Remove the Job Name "Copado" from the Scheduled Apex page.
2. Log in with a user that has a Copado license assigned.
3. Navigate to the page Apex Classes under Setup.
4. Click on the button Schedule Apex
5. Enter the Job Name "Copado". The name must be Copado to avoid the class to be schedule again when editing an org credential or git snapshot.
6. Select the apex class "Scheduler"
7. Select the Frequency weekly everyday.
8. Select Start Time, End Time and Preferred Start Time.
9. Click Save.


How did we do?