![]() |
![]() |
![]() |
||||
Welcome to the GoFuckYourself.com - Adult Webmaster Forum forums. You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today! If you have any problems with the registration process or your account login, please contact us. |
![]() ![]() |
|
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed. |
|
Thread Tools |
![]() |
#1 |
Confirmed User
Join Date: Sep 2002
Location: Atlanta
Posts: 199
|
![]() I have a script in my cgi bin. Of course, in order to get into the admin panel of the script I have to use a User:Pass combo. Once in admin, I can follow a few links to 'update' the script database. I need to setup a chron that will do this daily, so I don't have to do it.
I have tried to put the url to this link (update button) in the browser, with the admin pass combo, and it works! How can I add this directive to chron so the chron will do this function for me daily? This is what worked in the browser... http://admin:[email protected]...=BuildMainPage Please help ~Slim~
__________________
If you have ANY custom content needs, hit me up on icq # 118463907 and we can take care of you. |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#2 |
So Fucking Banned
Join Date: Apr 2007
Posts: 325
|
Add this to your crontab:
0 0 * * * curl httpblahblah this uses cURL to retrieve the url you specify, thus running the script... this configuration will fetch the page at midnight every night, look up "crontab" in wikipedia for a description of how to customize this line |
![]() |
![]() ![]() ![]() ![]() ![]() |