Automating the running of a script?
I'm working on a website where one part of the functionality is to sign up to receive a weekly "devotional/inspiritional" via email. Once a user enters their email address, the email will get stored on the server or db (haven't decided which to use yet). Then once a week, or whatever the desired time frame would be, an email would be sent out to everyone on the list.
My question is, how can I automate this to where a script would execute to perform this process?
Thanks,
Re: Automating the running of a script?
Quote:
Originally Posted by
blakemckenna
I'm working on a website where one part of the functionality is to sign up to receive a weekly "devotional/inspiritional" via email. Once a user enters their email address, the email will get stored on the server or db (haven't decided which to use yet). Then once a week, or whatever the desired time frame would be, an email would be sent out to everyone on the list.
My question is, how can I automate this to where a script would execute to perform this process?
Thanks,
If you are running on Windows you could either write a service (which is a fair amount of work) or you could use the windows task scheduler to schedule the script. https://www.windowscentral.com/how-c...ler-windows-10 gives a good outline of what is involved in the later case.
Re: Automating the running of a script?
Can this task scheduler be done on a windows webhosting server?
Re: Automating the running of a script?
Quote:
Originally Posted by
blakemckenna
Can this task scheduler be done on a windows webhosting server?
I suppose that depends on your hosting provider and exactly what they do and don't give you access to.
Re: Automating the running of a script?
I'll check into that! Thanks again for your help!