function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
suresh p 149suresh p 149 

What is the difference between manual schedule and apex schedule

Best Answer chosen by suresh p 149
AnudeepAnudeep (Salesforce Developers) 
Hi Suresh, 

There are two ways of scheduling jobs.

Using the System.Schedule Method

After you implement a class with the Schedulable interface, use the System.Schedule method to execute it. The System.Schedule method uses the user's timezone for the basis of all schedules, but runs in system mode—all classes are executed, whether or not the user has permission to execute the class.
 
RemindOpptyOwners reminder = new RemindOpptyOwners();
// Seconds Minutes Hours Day_of_month Month Day_of_week optional_year
String sch = '20 30 8 10 2 ?';
String jobID = System.schedule('Remind Opp Owners', sch, reminder);

Scheduling a Job from the UI

You can also schedule a class using the user interface.
  • From Setup, enter Apex in the Quick Find box, then select Apex Classes.
  • Click Schedule Apex.
  • For the job name, enter something like Daily Oppty Reminder.
  • Click the lookup button next to Apex class and enter * for the search term to get a list of all classes that can be scheduled. In the search results, click the name of your scheduled class.
  • Select Weekly or Monthly for the frequency and set the frequency desired.
  • Select the start and end dates, and a preferred start time.
  • Click Save.
https://trailhead.salesforce.com/content/learn/modules/asynchronous_apex/async_apex_scheduled

Let me know if this is helpful

Thanks, 
Anudeep