I am working on a site that require a php script running on a server without any request, it is a bot script that keeps (not full time but at least once a day) checking client accounts and send mail to clients when something happens.

Recommended Answers

All 3 Replies

you need to add a cron job on linux and schedule task on windows.

if you have a cpanel web host you should be able to set up a cronjob quite simply in the main menu

Member Avatar for diafol

if you have a cpanel web host you should be able to set up a cronjob quite simply in the main menu

otherwise your host could set one up for you.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.