| | Pretty interesting, I've never been with a host that lets me use Cron jobs before, and they sound pretty cool. dunno if I'll ever need to use em, but itz still an interesting how-to. Great job! |
|
|
it still doesn't work for me:
my full nightly command (midnight EST): 0 19 * * * /usr/local/bin/php -q /home/gamefaqs/public_html/cron_omgwtflolbbq/daily_purge.php did i forget something? am i supposed to put a "GET" in somewhere? please help! this is really important for my site! thanx in advance
Finally... but I still don't get it.
7 different people tried it and none of them worked. 7 people. and none worked. I'm using the LUE2 source and I need cron jobs to run important parts of it. I need it for something called karma and something called gems, which is the curreny needed to buy certain items I put in the shop. It's pretty interesting; check it out some time. Anyway, I also have a game on there to, which also needs crons to give people experciance points and gold to buy stuff from the game's shop. But yea, if you could help me with it OpaQue, I'd really appreciate it. And I'll let you come to my site anytime you'd like. >_> I have a php file that just needs to be processed in order for it to work. So all i would do is type in the address of the php file, and it would start processing log files. I want to do this remotely from my webhost site. So I was told once that i could use CODE #wget http://www.mysite.com/update.php and that would run that page at the time I wanted. But it didn't do anything. Then i saw someone use: CODE get http://www.mysite.com/update.php tried it, nothing happened. so is there a way to just have the cron job access a remote file by the webaddress? The way I have it set up is this. 3 Tasks. Task 1) call on a remote url that is on my home pc to do a log file parse. This is done simply by accessing the php file through any browser, thats it. Task 2) call on a remote url to do a database backup of the database on that server. Now thats the logs are parsed, it updated the database with all the parsed info. Task 3) call on a local file to do a database restore to the mirrored database on the webserver, i.e. make the webserver db match my homepc db. This all works fine if i do it manually. but what command allows the cron job to do it?
ok I found it.
CODE /usr/local/bin/GET -C root:pass http://my.ip.add.ress/folder/logs.php?pass=update this does the trick. loads the remote file. QUOTE(DssTrainer @ Mar 1 2005, 10:25 PM) ok I found it. CODE /usr/local/bin/GET -C root:pass http://my.ip.add.ress/folder/logs.php?pass=update this does the trick. loads the remote file. ok nevermind that doesnt work.
I am getting this via e-mail about my cron jobs (directory info protected for security reasons;
/home/mysitename/public_html/directory/protecteddirectory/mail_digests.php: line 1: ?php: No such file or directory /home/mysitename/public_html/directory/protecteddirectory/mail_digests.php: line 2: /aquota.user: Permission denied /home/mysitename/public_html/directory/protecteddirectory/mail_digests.php: line 3: mail_digest.php: command not found /home/mysitename/public_html/directory/protecteddirectory/mail_digests.php: line 4: -------------------: command not found /home/mysitename/public_html/directory/protecteddirectory/mail_digests.php: line 5: begin: command not found /home/mysitename/public_html/directory/protecteddirectory/mail_digests.php: line 6: syntax error near unexpected token `(' /home/mysitename/public_html/directory/protecteddirectory/mail_digests.php: line 6: ` copyright : © 2000 The phpBB Group' Any ideas why?
Wow.. This is very nice tutorial.. very clear, straight and very effective.
i'm noob but follow this tutorial, i can configure cron job successfully this can be old topic but i just wanna express my succeed! thks opaque
dear shyam Corn is in your cpanel ?
and you can Manage the script with corn to run for example counter Dear Seņor Maniac corn is working for all trap17 members , but you must active corn first
Dear All,
How do i set the cronjob if i want to run the task for every 5 minutes in advance mode coby
Recent Queries:-
Keywords : cron, jobs, cron, jobs, cpanel, cron, jobs, cron, jobs, php
Part 2.2 of my 7 Part Cpanel Tutorial (1) This tutorial is an extension to my 7 tutorial series about the Cpanel. The 7 different Cpanel Part 2.1 Of My 7 Part Cpanel Tutorial (6) This tutorial is an extension to my 7 tutorial series about the Cpanel. The 7 different Cpanel Part 1.1 of My 7 Part Cpanel Tutorial (0) This tutorial is an extention to my 7 tutorial series about the Cpanel. The 7 different Cpanel Part 7 Of My 7 Part Tutorial (14) This tutorial is going to discuss the entire list of fantastico features that are on the trap17 Part 6 of My 7 Part Tutorial (1) This Tutorial will be divided into 7 different parts, and this is the first part, when i get the Part 5 of My 7 Part Tutorial (20) This Tutorial will be divided into 7 different parts, and this is the first part, when i get the Part 4 of My 7 Part Tutorial (0) This Tutorial will be divided into 7 different parts, and this is the first part, when i get the Part 3 of My 7 Part Tutorial (0) This Tutorial will be divided into 7 different parts, and this is the first part, when i get the Part 2 of My 7 Part Tutorial (0) This Tutorial will be divided into 7 different parts, and this is the first part, when i get the Part 1 of My 7 Part Tutorial (0) This Tutorial will be divided into 7 different parts, and this is the first part, when i get the (37) Do not Extract files and then upload them by ftp, try the following (1)open the file manager Looking for cron, jobs, cron, jobs, cpanel, cron, jobs, cron, jobs, php
|
|
![]() Cron Jobs - Cron Jobs In Cpanel - Cron Jobs : Cron Jobs using PHP |
| ADD REPLY / Got an Opinion! | Remove these ADs! | RAPID SEARCH! | Free Web Hosting | [X] |
|
Express your Opinions, Thoughts or Contribute more info. to help others. Ask your Doubts & Queries to get answers, So that "Together We can help others!" |
Register FREE for AD-FREE forum, Create your own topics, Ask Questions, track topics, setup subscriptions & notifications and Get a Free Website w/ Email and FTP. | 500MB Space *No Ads*, CPanel, FTP, PHP, MySQL, EMails - 100% FREE |
|