Jump to content

Recommended Posts

Those figures only show anything if there is a PHP process running at the very same second you get to that page. For a low-traffic site that may be a rare occurrence.

 

Create a script with something like a sleep(100) so it runs for a long time, go to it in your browser, and reload the CPanel page.

Can make a cron job to run scripts a timely manner to either check something or perform a task, can also include or write code right into your scripts some actions to take upon certain conditions, even exec a shell script.

 

Since you have cpanel

https://documentation.cpanel.net/display/ALD/Cron+Jobs

Yes, in general (depends if your hosting allows it), but there are very few reasons why you should ever do that.

 

What do you need it to do?

 

 

Can make a cron job to run scripts a timely manner to either check something or perform a task, can also include or write code right into your scripts some actions to take upon certain conditions, even exec a shell script.

 

Since you have cpanel

https://documentation.cpanel.net/display/ALD/Cron+Jobs

 

yes i want to perform some check , also i want to run some scripts adter a certain time (on daily basis)

 

if i do that manually it will take too much time :(

 

& its also possible to program a script to run a .sh script in my linux server automatically ?

 

 

thxx quickold car :)

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.