0

I scheduled 2 jobs in Developer Console:

System.schedule('Scheduled Process Daily at 09:00 and 21:00', '0 0 9/12 * * ? *', new ScheduledProcess_1());
System.schedule('Scheduled Process Daily at 03:00', '0 0 3 * * ? *', new ScheduledProcess_1());

When I am checking these jobs in Scheduled Jobs in Setup, I see that one has the Manage link while the other don't. Why does it happen?

enter image description here

NOTE: I checked out this question Manage button is not visible in schedule job on the forum, but it doesn't answer my question.

--EDIT--

I managed to schedule more than 2 jobs:

System.schedule('Scheduled Process Daily at 09:00 and 21:00', '0 0 9/12 * * ? *', new ScheduledProcess_1());
System.schedule('Scheduled Process Daily every 2 hours', '0 0 0/2 * * ? *', new ScheduledProcess_1());
System.schedule('Scheduled Process Daily at 03:00', '0 0 3 * * ? *', new ScheduledProcess_1());
System.schedule('Scheduled Process Daily at 04:00', '0 0 4 * * ? *', new ScheduledProcess_1());
System.schedule('Scheduled Process Daily at 05:00', '0 0 5 * * ? *', new ScheduledProcess_1());

The result:

enter image description here

  • What about the Manage action in the record line. I see Manage and Delete... is the Manage not available there? Or are you asking why the action Manage is not available on the second record on that screenshot? – Carlos Naranjo Nov 23 '18 at 13:10
  • @CarlosNaranjo, I am asking about the second record. Sorry for confusion. So it is quite frustrating to see such behavior. I guess it's because the Scheduled Process Daily at 09:00 and 21:00 job has 9/12 as its hour definition, but I am not sure. – Eduard Nov 23 '18 at 13:20
  • Is that job been scheduled only form the developer console? – Carlos Naranjo Nov 23 '18 at 13:31
  • Yes, it is. You can try it in your org. – Eduard Nov 23 '18 at 13:44
  • 3
    When you schedule from developer console and your schedule is different from the Manager button possibilities, the manage button is not shown. – m Peixoto Nov 23 '18 at 14:02
2

The answer is the same from the question that you mentioned.

You need to check following options for Manage link visibility on Scheulde jobs.

To monitor scheduled jobs user needs “View Setup and Configuration” One more thing, is some one scheduled those job using Developer Console, Workbench. Hence Manage Link will not be available. You can schedule apex class from Setup-> Apex Class -> Schedule Apex Button

Why for one you have the Manage button and for other no?

You can schedule a job only one time by day using Schedule Apex button. As you have used two times in the command below. You cannot see the Manager button for this schedule.

System.schedule('Scheduled Process Daily at 09:00 and 21:00', '0 0 9/12 * * ? *', new ScheduledProcess_1())

  • I updated the question. The last two parts of your answer seems to be confusing a bit. You mean that this '0 0 9/12 * * ? *' string is complex to be available for user in UI. I think it's better explained as `schedule is different from the Manager button possibilities' as you pointed in the comments. – Eduard Nov 23 '18 at 15:40
  • All schedules that you use two times, does not have the link. I explained it here: * As you have used two times in the command below. You cannot see the Manager button for this schedule.* – m Peixoto Nov 23 '18 at 15:43

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.