I need to set up cron/automatic taks on windows(shared)/linux(shared)/wamp servers.
the problem is that the project is running on multiple environments.
so what is the best way to set up cron/scheduled taks ?
Actually what i need to do is check email servers for new emails and if something found save it to the local DB. If you have any alternative other than cron job then please let me know.
Thanks.
EDIT:
As i mentioned in the question i have multiple emails/filtering , so i need to run something on background to fetch data periodically. CRON
in linux and Scheduled Tasks
on Windows.
But the real problem is that i am doing it on a shared hosting ( or it depends the client ) so i cannot use CRON
/Scheduled Tasks
.
Ex : Project is installed on GOdaddy windows shared hosting , it is a windows server so no support for CRON
(normally) and they wont allow to use Scheduled Tasks
.
the question is : is there any alternative for CRON/
Scheduled Tasks
?