How to create a Date alarm in laravel 5.3

Published 8 months ago by marvino

Hi there, I am recently creating service record system which one of each feature is to alarm or have a warning sign that for every three years a personnel will be promoted. Example if Mark was hired the last 2014-03-21, the system will alarm after three years from the date he was hired.

The records are stored in database.

How can i do this? I need your help?

MaverickChan

event? i guess

marvino

can show me an example how to deal with it ?

kenny11

https://laravel.com/docs/5.4/scheduling

Every day at the specific time, run a task that compares today's date with the date you want to compare, and notify the user if matched your criteria

marvino

@kenny11 i tried it before but no luck ... can show me some codes or tutorials in it ?

Abi
Abi
8 months ago (61,970 XP)

Please sign in or create an account to participate in this conversation.