Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 3 of 3

Thread: automated tasks

  1. #1
    New to the CF scene
    Join Date
    Jun 2002
    Location
    Bucharest, Romania
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Question automated tasks

    I need a script that loads an article (web page) at every 2-3 days interval, for a month.

    I tried with a script that loads small messages (quotes, tips) every day, but does not load a whole article.

    Where to find it?

    Who's interested and skilled?

  • #2
    Regular Coder
    Join Date
    Jun 2002
    Location
    Provo, UT
    Posts
    142
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Here is an idea of how you can do it. If you do not like the idea of having the array then you can always just check the same way and then redirect to the web page that you want. I hope this helps. Have fun. I included a .zip file that has what I did.
    Attached Files Attached Files

  • #3
    Regular Coder
    Join Date
    Jun 2002
    Location
    Adirondacks
    Posts
    516
    Thanks
    4
    Thanked 4 Times in 4 Posts
    use the javascript date
    specifically the day of the month IE1 thru 30,31

    if x=day1 document.write(article1)
    if x=day4 document.write)article2)

    something like that wouldn't be too hard


  •  

    Posting Permissions

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