Jump to content

[SOLVED] PHP with Cron Jobs


Ads

Recommended Posts

What do you wanna do?

 

Assign a time

 

Time:

* * * * * => Execute every minute

0 * * * * => Execute every Hour

0 0 * * * => Execute every mid-night

0 0 0 * * => Execute every Month

0 0 0 0 * => Execute every Weekday

 

Assign path to php

 

Assign a UNIX command for a job

 

Assign the PHP pathfile

 

That's it. In that order (I think)

 

Link to comment
Share on other sites

at a Certen time, I want a php page to excute, but i don;t want it to like Pop up on the screen. I want it in the background.

 

dear ads,

 

cron is driven by a crontab, a configuration file that specifies shell commands to run periodically on a given schedule.

 

Generally, the schedules modified by crontab are enacted by a daemon, crond, which runs constantly in the background and checks once a minute to see if any of the scheduled jobs need to be executed. If so, it executes them. These jobs are generally referred to as cron jobs.

 

 

CRON ARE BACKGROUND PROCESSES WHICH RUN SLIENTLY AND EXECUTE YOUR SCRIPT WITHOUT ANY POP UPS or so.

 

I think your need to read some tutorial about cron and it will help you more to understand them.

 

 

Link to comment
Share on other sites

at a Certen time, I want a php page to excute, but i don;t want it to like Pop up on the screen. I want it in the background.

 

dear ads,

 

cron is driven by a crontab, a configuration file that specifies shell commands to run periodically on a given schedule.

 

Generally, the schedules modified by crontab are enacted by a daemon, crond, which runs constantly in the background and checks once a minute to see if any of the scheduled jobs need to be executed. If so, it executes them. These jobs are generally referred to as cron jobs.

 

 

CRON ARE BACKGROUND PROCESSES WHICH RUN SLIENTLY AND EXECUTE YOUR SCRIPT WITHOUT ANY POP UPS or so.

 

I think your need to read some tutorial about cron and it will help you more to understand them.

 

 

 

Cool that was pretty much all i wanted to know, So thank You :)

Link to comment
Share on other sites

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.