Results 1 to 5 of 5

Thread: Automating the running of a script?

  1. #1

    Thread Starter
    PowerPoster
    Join Date
    Jan 2004
    Location
    Southern California
    Posts
    5,034

    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,
    Blake

  2. #2
    PowerPoster PlausiblyDamp's Avatar
    Join Date
    Dec 2016
    Location
    Pontypool, Wales
    Posts
    2,458

    Re: Automating the running of a script?

    Quote Originally Posted by blakemckenna View Post
    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.

  3. #3

    Thread Starter
    PowerPoster
    Join Date
    Jan 2004
    Location
    Southern California
    Posts
    5,034

    Re: Automating the running of a script?

    Can this task scheduler be done on a windows webhosting server?
    Blake

  4. #4
    PowerPoster PlausiblyDamp's Avatar
    Join Date
    Dec 2016
    Location
    Pontypool, Wales
    Posts
    2,458

    Re: Automating the running of a script?

    Quote Originally Posted by blakemckenna View Post
    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.

  5. #5

    Thread Starter
    PowerPoster
    Join Date
    Jan 2004
    Location
    Southern California
    Posts
    5,034

    Re: Automating the running of a script?

    I'll check into that! Thanks again for your help!
    Blake

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width