Jump to content

thedesignstudent

Members
  • Posts

    31
  • Joined

  • Last visited

Everything posted by thedesignstudent

  1. Here's how I understand it. I configure the script. Change email 'no' to 'yes'. and...? Do I copy and paste this script into the command line space in the standard cron manager? I want to automate my backups for all of my bulletin boards, starting with my first. I'll be back after the install, and I'll be able to see what it's like to manage more than one in the manager once I get the okay. Also, if I wanted to set the job up at 3 am every night, should I go to the advanced manager and enter 0 3 * * * ? Seems simple enough. Thanks! p.s. I'm also a little confused on being able to edit the job once I've got it entered into the command line and have sent it away. Will there be a delete cron job 1 button in the cron job manager? I'll see, but if it's something else that's simple, feel free to mention it. Thank you again. Here's the script I'll be entering ----------------------------------------------------- // configure your database variables below: $dbhost = 'localhost'; // Server address of your MySQL Server $dbuser = 'cpanelname_DBuser'; // Username to access MySQL database $dbpass = 'user-password'; // Password to access MySQL database $dbname = 'cpanelname_DBname'; // Database Name // Optional Options You May Optionally Configure $use_gzip = "yes"; // Set to No if you don't want the files sent in .gz format $remove_sql_file = "yes"; // Set this to yes if you want to remove the .sql file after gzipping. Yes is recommended. $remove_gzip_file = "yes"; // Set this to yes if you want to delete the gzip file also. I recommend leaving it to "no" // Configure the path that this script resides on your server. $savepath = "/home/cpanelname/path-to-script"; // Full path to this directory. Do not use trailing slash! $send_email = "yes"; // Do you want this database backup sent to your email? Fill out the next 2 lines $to = "validuser@your-destination.com"; // Who to send the emails to $from = "validuser@your-domain.com"; // Who should the emails be sent from? $senddate = date("j F Y"); $subject = "MySQL Database Backup - $senddate"; // Subject in the email to be sent. $message = "MySQL database has been backed up and is attached to this email"; // Brief Message.
  2. Thanks! That's really cool. I loaded a word press page today from their site and I'm hosting it on mine. I also did the Fantastico install earlier this week, which was the click of a button. What I'm doing with the Word Press install from today is merging Word Press with Vanilla (forums). I'm still at the editing php files phase. If anyone wants to test the integration, directions are here. Let me know if you get a version running with WP and Vanilla and I'll do the same. Thanks for the WP tip, btw.
  3. Does anyone auto update their blog content using cron jobs? I've written about a years worth of articles and I was wondering if anyone has, would like to or now thinks it could be a great idea to auto-update their blog from a library operated by cron jobs. I'm new to scripting and programming, and this is something I'm doing. Any thoughts, suggestions, experience or otherwise to share?
  4. Hi, I’m Dave. designyourowndenim.thedesignstudent.com The site is my example that’s up and running. I need php. My site is 50+ pages. I want to change the light pink and and light blue menus on either side of the center frame into mouse-over movies/animations in flash. I made my first flash button and I’m ready to go. With html I’d need to update all 50 pages manually, but I’d like to go the php route, alter 2 files and have all 50 and growing pages update by themselves. I also noticed I forgot to add the shopping category skirts, and maybe I’d like to have a logo created in 6 months or add a new product and update on the entire site. I created one of the mouse-over buttons in Flash and Illustrator (gif), but I’ve been hesitant in doing it all manually. Sure it was great in the beginning when I thought I had the template I wanted to use, but needs have changed and fast, as they do every day. So are you saying that for me changing 2 pages would still be possible with php? Any other tutorials that would help me on the way towards asking better questions and what’s the best program to use for creating php pages? I use front page, and it alters the php code/tags (<) placed into the html editor into tags < etc.
×
×
  • Create New...