i am trying to run a schedulable job i never used schedulable jobs in salesforce
here is my code
global class scheduledMerge implements Schedulable{
global void execute(SchedulableContext SC) {
System.debug('Hello World');
}
}
created a cusom controller
public class schedulableMerge{
public schedulableMerge(){
}
public PageReference Hello(){
scheduledMerge m = new scheduledMerge();
String sch = '0 10 * * 1-12 ? *';
system.schedule('Merge Job', sch, m);
return null;
}
}
and visualforce page is
<apex:page controller="schedulableMerge">
<!-- Begin Default Content REMOVE THIS -->
<h1>Congratulations</h1>
This is your new Page
<!-- End Default Content REMOVE THIS -->
<apex:form >
<apex:commandButton value="Press it" action="{! Hello}" />
</apex:form>
</apex:page>
when i press button press it there is a job in All schedulable job but there is only one option delete with it.No option of manage. i think this job should run in every 10 minutes .i saw debug logs from Monitoring>Debug Log it is showing no log. can you please tell what is the expression for running job in every one minute and where to see debug logs?? my aim is to see working of schedulable job