Latest LQ Deal: Linux Power User Bundle
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 05-04-2006, 12:42 PM   #1
LQ Newbie
Registered: May 2006
Posts: 2

Rep: Reputation: 0

How can I post my question if I cannot submit the url's (even when written 'domain dot tld' illustrating the problem ?
Puzzled user
Old 05-04-2006, 12:53 PM   #2
LQ Guru
Registered: Dec 2005
Location: Somewhere on the String
Distribution: Debian Wheezy (x86)
Posts: 6,094

Rep: Reputation: 272Reputation: 272Reputation: 272
This is a feature to keep people from just coming here and posting advertisements with bots...

Try cutting and pasting the address from your browser and then changing http to hxxp
Old 05-05-2006, 01:04 AM   #3
LQ Newbie
Registered: May 2006
Posts: 2

Original Poster
Rep: Reputation: 0
I am trying to set up an automatic db and files multiserver backup system and since all I know of Linux stops with Apache (1.3.31) I can't figure out what I'm doing wrong with the relative or absolute paths to have a php script run through cron. The script itself doesn't seem to be a problem; manual backups work allright.
Linux server (dns hostname) 2.4.21-40.EL #1 (all I could find in phpinfo)
Php 5.05 as Apache module
Access to cron through Cpanel GUI
No shell access
Host emergency 24X7 support ... dead
File permissions for script directory set to 755
Here is the script to be executed, bckpp.php:
// This code was created by phpMyBackupPro v.1.8 
$_POST['db']=array("db_bcal", "db_cbr", "db_frm",  );
// This is the relative path to the phpMyBackupPro v.1.8 directory
(- and I tried this also
"backup.php" being in
Now the cron command through Cpanel's GUI (frequency for test purpose only):
* * * * * curl -s -o /dev/null hxxp://xxx.domain.tld/tmp/bckpp.php
And the cron daemon's reply:
/bin/sh: line 1: backups: command not found
From various trials with many scripts remains a 'backups' folder at /home/myusername/backups and I tried to put the script inside with no result at all.
I also tried to create a cron.daily file in the etc folder (/home/myusername/etc/) with the code in it. Nothing ... but I haven't understood whether cron.daily is a file or some special directory.

Any help, anyone ? Thanks.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
shell script using /etc/cron.hourly to execute cron.php file? rioguia Programming 3 06-11-2008 08:09 AM
PHP: List files in directory, exclude backups kenneho Programming 2 12-30-2005 04:27 AM
cron and PHP bokini Programming 2 07-28-2005 04:56 PM
cron backups kenji1903 Linux - Software 5 05-30-2004 11:04 PM
cron script backups cbeach512 Linux - Newbie 1 01-06-2004 02:00 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 11:05 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration