안드로이드를 공부하면서 알람 프로그램을 만들고 있습니다.

클래스를 AppWidgetProvider로 상속받고 폰에서 홈 위젯을 클릭하면
알람을 시작하거나 종료를 할수 있는 기능을 구현하려고 하고 있습니다.

@Override
 public void onUpdate(Context context,
       AppWidgetManager appWidgetManager,
       int[] appWidgetIds) {
  RemoteViews view = new RemoteViews(context.getPackageName(),
       R.layout.widget);
  
  Intent intent = new Intent();
  intent.addCategory(Intent.CATEGORY_BROWSABLE);
  
  intent.setComponent(new ComponentName("com.rabbithands.GetUpNeck",
    "com.rabbithands.GetUpNeck.AlarmService"));
  PendingIntent pendingIntent = PendingIntent.getBroadcast(context, 0, intent, 0);
  view.setOnClickPendingIntent(R.id.alarm, pendingIntent);
  
  appWidgetManager.updateAppWidget(appWidgetIds, view);
  super.onUpdate(context, appWidgetManager, appWidgetIds);

위젯에 설정되어있는 alarm버튼을 클릭하면 알람 서비스가 작동되게 만들고 있는 소스 중의 일부분인데요.
버튼을 클릭하면 알람이 일정 주기마다 반복되서 작동되어야 되는데 한번만 알람이 작동됩니다.
AppWidgetProvider에서 AlarmManager를 사용하게 홈위젯으로 알람을 반복 작동 시키고 싶은데
어떻게 해야 될까요?

고수분들 많은 조언 부탁드립니다.