Welcome to Dream.In.Code
Getting PHP Help is Easy!

Join 136,577 PHP Programmers for FREE! Get instant access to thousands of PHP experts, tutorials, code snippets, and more! There are 1,885 people online right now. Registration is fast and FREE... Join Now!




crontab

 
Reply to this topicStart new topic

crontab

dreamincodehamza
27 Sep, 2008 - 05:07 PM
Post #1

D.I.C Head
Group Icon

Joined: 12 Sep, 2008
Posts: 110


Dream Kudos: 75
My Contributions
I need to run my php file on every satarday and someone
told me that you need to configure cron tab .
Can anyone expert in it
or know much in it and like to help me more and more about it
[i][color=#66FFFF][size=3][font=Comic Sans Ms]
User is offlineProfile CardPM
+Quote Post

William_Wilson
RE: Crontab
27 Sep, 2008 - 05:13 PM
Post #2

lost in compilation
Group Icon

Joined: 23 Dec, 2005
Posts: 3,995



Thanked: 16 times
Dream Kudos: 3275
Expert In: Java, C, Javascript

My Contributions
I assume you are using a *nix server and not a windows server?
Here's a manual page on cron tab usage: http://www.mkssoftware.com/docs/man1/crontab.1.asp

User is offlineProfile CardPM
+Quote Post

dreamincodehamza
RE: Crontab
27 Sep, 2008 - 05:31 PM
Post #3

D.I.C Head
Group Icon

Joined: 12 Sep, 2008
Posts: 110


Dream Kudos: 75
My Contributions
nix server ??
im using a webserver appachi on windows
what do you mean by this
User is offlineProfile CardPM
+Quote Post

PsychoCoder
RE: Crontab
27 Sep, 2008 - 06:00 PM
Post #4

using DIC.Core;
Group Icon

Joined: 26 Jul, 2007
Posts: 8,997



Thanked: 125 times
Dream Kudos: 8625
Expert In: VB, VB.Net, C#, SQL, ASP, ASP.Net, Web Development, HTML, CSS, Win32 API, Javascript, mySQL, J#, Boo.Net

My Contributions
Here's an article on using cron jobs in Apachi on a Windows box
User is offlineProfile CardPM
+Quote Post

pr4y
RE: Crontab
27 Sep, 2008 - 06:39 PM
Post #5

D.I.C Head
Group Icon

Joined: 19 Sep, 2008
Posts: 76


Dream Kudos: 50
My Contributions
QUOTE(dreamincodehamza @ 27 Sep, 2008 - 06:31 PM) *

nix server ??
im using a webserver appachi on windows
what do you mean by this



He meant to ask if you were using a UNIX / LINUX based server environment. For the most part, *nix servers will ALWAYS be more stable and more accessable in every aspect of a server. Not to mention everything in the system can be modified, linux is just a much more effective server.
User is offlineProfile CardPM
+Quote Post

PsychoCoder
RE: Crontab
27 Sep, 2008 - 06:46 PM
Post #6

using DIC.Core;
Group Icon

Joined: 26 Jul, 2007
Posts: 8,997



Thanked: 125 times
Dream Kudos: 8625
Expert In: VB, VB.Net, C#, SQL, ASP, ASP.Net, Web Development, HTML, CSS, Win32 API, Javascript, mySQL, J#, Boo.Net

My Contributions
It's *nix users like you who give all *nix users a bad name. You take every questions/opportunity to trash Windows.
User is offlineProfile CardPM
+Quote Post

JackOfAllTrades
RE: Crontab
28 Sep, 2008 - 08:22 AM
Post #7

Cantankerous Old Fart
Group Icon

Joined: 23 Aug, 2008
Posts: 580



Thanked: 59 times
Dream Kudos: 50
My Contributions
Note: It's Apache...might make it easier to Google in the future.
User is offlineProfile CardPM
+Quote Post

dreamincodehamza
RE: Crontab
29 Sep, 2008 - 04:17 PM
Post #8

D.I.C Head
Group Icon

Joined: 12 Sep, 2008
Posts: 110


Dream Kudos: 75
My Contributions
i have successfully run the particular file on particular time.
one last simple thing is that how should i run a file hiddenly
e .g automatically a file is executed by explore without opening
of any browser window .
(is it possible to do ).
------------------------ and
recently i am running a beta website for testing on the
webserver and i need to applly the crontab one a particular
website page.How should i configure on server any possible way.
User is offlineProfile CardPM
+Quote Post

Fast ReplyReply to this topicStart new topic
Time is now: 12/3/08 12:15AM

Live PHP Help!

PHP Tutorials

Reference Sheets

PHP Snippets

DIC Chatroom

Bye Bye Ads

Monthly Drawing

Thumb Drive

Top Contributors

Top 10 Kudos This Month