Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Cron

Status
Not open for further replies.

newbiepg

Programmer
Nov 6, 2002
181
0
0
IN
I have no idea about using cron. We have to ensure that a php page would get executed after every 24 hours in redhat linux.

How can I do this?
 
run
#crontab -e
to create scheduled job run under your user privilege.

regards,

Darmawan W. Anandita CCNA
Network/System Consultant
 
Thanks Darmawan
I was able to run a program using cron.d

There were also folders marked cron.weekly, cron.daily etc
When I made an entry in cron.d and changed the folder to cron.weekly, after typing crontab -e the same file was shown

Is there any difference in syntax for these separate folders?
What are the difference between them?
 
man cron

_____________________________
when someone asks for your username and password, and much *clickely clickely* is happening in the background, know enough that you should be worried.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top