Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6955033
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T14:41:04+00:00 2026-05-27T14:41:04+00:00

This seems like a simple question, but I am having trouble finding the answer.

  • 0

This seems like a simple question, but I am having trouble finding the answer.

I am making a web app which would require the constant running of a task.

I’ll use sites like Pingdom or Twitterfeed as an analogy. As you may know, Pingdom checks uptime, so is constantly checking websites to see if they are up and Twitterfeed checks RSS feeds to see if they;ve changed and then tweet that. I too need to run a simple script to cycle through URLs in a database and perform an action on them.

My question is: how should I implement this? I am familiar with cron, currently using it to do my server backups. Would this be the way to go?

I know how to make a Python script which runs indefinitely, starting back at the beginning with the next URL in the database when I’m done. Should I just run that on the server? How will I know it is always running and doesn’t crash or something?

I hope this question makes sense and I hope I am not repeating someone else or anything.

Thank you,

Sam

Edit: To be clear, I need the task to run constantly. As in, check URL 1 in the database, check URl 2 in the database, check URL 3 and, when it reaches the last one, go right back to the beginning. Thanks!

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-27T14:41:04+00:00Added an answer on May 27, 2026 at 2:41 pm

    If you need a repeatable running of the task which can be run from command line – that’s what the cron is ideal for.
    I don’t see any demerits of this approach.

    Update:
    Okay, I saw the issue somewhat different. Now I see several solutions:

    • run the cron task at set intervals, let it process the data once per run, next time it will process the data on another run; use PIDs/Database/semaphores to avoid parallel processes;
    • update the processes that insert/update data in the database; let the information be processed when it is inserted/updated; c)
    • write a demon process which will reside in memory and check the data in real time.
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I know this is a very simple question, but I'm having trouble finding the
This seems like such a simple question, but I'm having such difficulty with it.
This seems like a simple question, but I can't find it with the Stack
This seems like a simple question, but it is difficult to search for. I
This seems like it would be fairly simple, but I've been unable to find
This may seem like a simple question but i am getting an error when
This seems like it should be really simple, but I'm unable to figure this
Seems like this should be simple, but powershell is winning another battle with me.
I feel like this is a rather simple question, but I can't seem to
This is a pretty simple question, at least it seems like it should be,

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.