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 8824993
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 14, 20262026-06-14T06:46:11+00:00 2026-06-14T06:46:11+00:00

I have two different tasks each task is in php file, so I have

  • 0

I have two different tasks each task is in php file, so I have two php files.
Can I run 2 files at the same time?

  • 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-14T06:46:12+00:00Added an answer on June 14, 2026 at 6:46 am

    Don’t know exactly what you want, but, I think this cam help you:

    run_files.php:

    <?php
    require 'run1.php';
    require 'run2.php';
    ?>
    

    Where run1.php and run2.php is the files you want to execute.

    UPDATE

    You have said the second task will have to wait, and then the user will not get the service he needs, so, this does not work as you expect.

    PHP files are read from up to down, like the tasks (Cronjobs), which run one file than other, so, you can’t prevent the time between files execution.

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

Sidebar

Related Questions

We have 10 Linux boxes that must run 100 different tasks each week. These
I have two different libGL libraries on the same Ubuntu 11.04 machine. One library
I have two different modules that need access to a single file (One will
Imagine I have two (three, four, whatever) tasks that have to run in parallel.
I'm considering two different ways of completing the same task of displaying dynamic HTML
I have two function that do the exact same thing in two different ways.
I have two different django projects say projA and projB , each have its
I have a view with two different actions of the same model (An item
I have two different buttons on my page. I want them both to be
I have two different web applications running on two different instances of tomcat. I

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.