Speak now
Please Wait Image Converting Into Text...
Embark on a journey of knowledge! Take the quiz and earn valuable credits.
Challenge yourself and boost your learning! Start the quiz now to earn credits.
Unlock your potential! Begin the quiz, answer questions, and accumulate credits along the way.
General Tech Bugs & Fixes . 6 hours ago
Turn Your Knowledge into Earnings.
I have created a web application in PHP with an option for admin to upload a CSV file and submit the form and it will update/create new records in the database.
Now we have developed a system that will generate CSV file in the server every time when there is an update. Now the task is to detect if there is a new CSV file has been generated and trigger the form submit function and update the database, so everything will be automated.
I am already aware of using CRON jobs but I want to run my update script instantly and do not want CRON to run for every minutes or second.
I want to know if there is any way to detect the generated file, kind of event listener (RabbitMQ?) or something that will be triggered whenever a new file comes up in the server (LAMP Based).
Please give me some idea, how can I achieve this. CRON can do it job but it is not preferred for me.
Thanks in advance Sanny
General Tech 9 Answers
General Tech 7 Answers
General Tech 3 Answers
General Tech 2 Answers
Banking, Finance & Insurance
Mobile Technologies
Career Talk
General Tech
Commerce & Accounting
Career Talk0 Answers
General Tech0 Answers
Digital Marketing0 Answers
Internet of Things0 Answers
Interview Questions0 Answers
Your experience on this site will be improved by allowing cookies.