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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 16, 20262026-05-16T05:19:59+00:00 2026-05-16T05:19:59+00:00

I have some files on my server, how to open them programatically once a

  • 0

I have some files on my server, how to open them programatically once a day?

Let them be

http://site.com/scripts/video.php
http://site.com/scripts/music.php

Without my hands, just like sheduling (automatically).

Even if I sleep and server is working, they should open on given time.

And additionally, how to open them once a 10 seconds (for tests)?

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-16T05:20:00+00:00Added an answer on May 16, 2026 at 5:20 am

    The Solution is very clear when you are using a Linux server;CRON JOBS.
    One can easily run a cron job by configuring it through the terminal.I saw everyone has provided the Solution,but my answer will be for the people who are novice to Linux servers and don’t know much about Cron Jobs.Go to Terminal and type the below commands..

    root>which php
    

    The above line will give you the path to where PHP is in your linux systems
    Now,

    root>crontab e
    

    The above line will open the Cron file in edit mode.
    Enter the number of times you want to run a particular php file and what time of the day,month,week,etc.
    I am providing the syntex for running a particular file every 15 mins.
    So here you go,

    (write this in the cron file in edit mode)

    */15 * * * * path/to/your/php path/to/the/file/you/want/to/run
    

    Now,path/to/your/php has to be replaced by the path what you got when you typed

    root>which php
    

    And you are done just save the file and close it.You will see a messege on you terminal that a new CronJob is installed.
    That’s it.

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

Sidebar

Related Questions

I have some pdf files located on a http server: Like: http://domain.com/files/file1.pdf http://domain.com/files/file1.pdf http://domain.com/files/file1.pdf
I have some php files in a server which generate xml code in them.
I have a small app that downloads some files from a remote (HTTP) server
I have some audio files on my http server, and I would like to
We built some war files for our web server a while back and have
I have some questions about importing data from Excel/CSV File into SQL Server. Let
I have some images in a SQL Server database. I want to display them
I have a server configured to receive XML files via POST, parse them, and
I have a WP7 application which downloads some files from a server. Now I
I have some images and pdf file on my server which I use in

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.