I try to have a notification repeated daily (For debugging I set it to every 10s). However, it is firing the notification only the first time, then nothing happens.

Here is the code where the alarm is set:

```
Intent myIntent = new Intent(ctx , NotifyService.class);
AlarmManager alarmManager =(AlarmManager)ctx.getSystemService(ALARM_SERVICE);
PendingIntent pendingIntent = PendingIntent.getService(ctx, 0, myIntent, PendingIntent.FLAG_UPDATE_CURRENT);

Calendar calendar = Calendar.getInstance();
alarmManager.setRepeating(AlarmManager.RTC_WAKEUP,calendar.getTimeInMillis(), 1000 * 10, pendingIntent); 

```

and here is the service:

```
public class NotifyService extends Service {
   public NotifyService() {

   }

   @Override
   public void onCreate(){
       //Create and Emit the notification.
   }

```

I have tried different flags in `getService(ctx, int, Intent, flags)`, to use `setInexactRepeating` and to set a new alarm after every call to the `NotifyService`.