I have a schedulable class in my package that would run every hour to pull data using a callout and put it in the custom object.
I am aware of using system.schedule as below:
String scheduleTime='0 '+currentMinute+' '+currentHour+' '+currentMonth+' '+currentYear+' ?'
system.schedule('MyJob', scheduleTime, new SchedulableC(context.installerId()));
I was wondering if there is a better way to run the job only ONCE after install.