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

  • Home
  • SEARCH
  • 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 8348517
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 9, 20262026-06-09T07:42:47+00:00 2026-06-09T07:42:47+00:00

I have a PHP script. I want this PHP script to trigger another PHP

  • 0

I have a PHP script. I want this PHP script to trigger another PHP script under some condition, which I can do, but I want the second script to be fired after some amount of time..

For instance, if condition holds start the second script in 2 hours..

How can I achieve this in the simplest way using PHP or any other ready to use options?

Thank you.

  • 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-06-09T07:42:49+00:00Added an answer on June 9, 2026 at 7:42 am

    You could have a database with the time you need a script to be run and have a cron to run a php script every hour or so to check if there are tasks that needs to be performed (and perform them).

    With that you could have your first php script to write the task, and the php script run by cron to finalize your task.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have PHP script, which is requested by user. In this script I want
I have a php script which can take some GET params. I would like
I get some data from an PHP-Script via AJAX and want to have the
I have a php page in which I want to include another php page,
I have a php script that is running in CLI and I want to
I have a html_headers.inc.php script that I want to include in every script on
I have an multi-dimensional array that I want to send to a PHP script
I have a change password script in PHP and I want to do is
I have PHP script works without problems, like this : while($row4 = mysql_fetch_array($result4)) {
I can't seem to figure this one out. I have a validator-type script that

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.