Re: [bang-phpug] DOUBT REGARDING CRON TAB
- Hi Karthikeyan,
have you included the slash (/) before home? That might have lead to this
(note the '/' before home).
If the above method doesnot solve, i will suggest the following workaround:
try doing wget of http://www.itsfreeads.com/delete.php in the cron job.
On 08 Apr 2007 23:37:20 -0700, KARTHIKEYAN RANGASWAMY <
> Hello Friends,
> I am karthikeyan.I am using MYSQL and PHP.i have one table in mysql
> database with date as one field.I want to delete the records that are 10
> days old.For This Purpose i am using Cron Tab Facility Given in my
> server.As You Know that Cron Tab can be executed by 2 means
> Using command line or control Panel..
> MY server has control Panel called Cron Tab with two buttons namely
> standard and advanced unix style.I have created one php file stored it in
> a folder named "www"so the full path to file is
> www.itsfreeads.com/delete.php.I have chosen standard option and email
> address where ouput to be sent is given my mail address:
> karthikranga83@... <karthikranga83%40yahoo.co.in.in> the
> command to run text box i have given as
> cd home/itsfreea/public_html/www.itsfreeads.com/delete.php
> The Time I have Given for one minute just for the purpose of testing but
> the actual time is that it has to run daily one time
> The output i was getting in my mail address nothing but a blank mail and
> in sometimes ouput i got was no such file or directory in
> Please Help me in this issue as it is urgent and i am new to cron tab.IfCron tab can be executed in command line how it can be
> done.I have downloaded a tool called putty and try to execute it but also
> no improvement
> Please Help Me in this issue
> Here's a new way to find what you're looking for - Yahoo! Answers
> [Non-text portions of this message have been removed]
"Your friendly hosting provider"
[Non-text portions of this message have been removed]