1

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

9
  • 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? Commented Nov 23, 2018 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
    Commented Nov 23, 2018 at 13:20
  • Is that job been scheduled only form the developer console? Commented Nov 23, 2018 at 13:31
  • Yes, it is. You can try it in your org.
    – Eduard
    Commented Nov 23, 2018 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
    Commented Nov 23, 2018 at 14:02

1 Answer 1

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())

2
  • 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
    Commented Nov 23, 2018 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
    Commented Nov 23, 2018 at 15:43

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .