microsoft/AzUrlShortener

Feature Adding Scheduler

FBoucher opened this issue · 5 comments

This should also do the feature request #110

The Scheduler should be an external process. This way AzUrlShortener stay fast.

AzUrlShortener

  • Adding a IsActive property

  • When the URL is not active should we display a custom message or page or default page

Scheduler Module

  • on a Schedule update the Long URL
  • save a schedule (how we save that?)
  • Can we have a dynamic schedule? so it runs only at the next time required instead of every x mins

This project here could be the key to our solution: https://github.com/HangfireIO/Cronos

Thank you @scottcate for your code https://github.com/scottcate/TimedLinks It's been added in the branch feature/scheduler

Every time we request a short URL we need to provide the nullable expiry date for this URL. After that date URL should go to archive.
If an expiry date note provided - do not delete the URL.