Joomla!ŪPlug

. XCloner - Backup and Restore Component

OOPS. Your Flash player is missing or outdated.Click here to update your player so you can see this content.
Joomla backup and restore component

XCloner for Wordpress new!

 
 
JoomlaPlug.com
Welcome, Guest
Please Login or Register.    Lost Password?
Page is not executing (1 viewing) (1) Guest
Go to bottom Post Reply Favoured: 0
TOPIC: Page is not executing
#6678
vrushali (User)
Fresh Boarder
Posts: 8
graphgraph
User Offline Click here to see the profile of this user
svrushali sawantvrushalid@hotmail.com Location: Pune, India
Page is not executing 1 Year, 6 Months ago  
Hi,

I have installed JCorn on one of my site. From the Cron Log, it seems the cron job is running fine.But my script is not executing from the Cron job.
PHP Exec() s enabled on my site.
If I run the page directly from the site then it working fine.

Herewith, attached text file contains the JCron log.
Following are the setting of my cron job:

Task type: SSH command
Command to run: testfunction.php
Run at - Every minute, Every hour, Every day, Every month, Every year.
UnixCrontab: * * * * * (Use - uncheck)
Publish: yes
Enabled log: yes

Please let me know what might be the challenge. Do I need to give some permission to my file. Or this is something server related.

I have user same component on other site and it is working fine there.

Please help.

Thanks in advance

Regards
-Vrushali
File Attachment:
File Name: JCron_log.txt
File Size: 1450
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
#6679
Ovidiu - Support! (Admin)
Admin
Posts: 2927
graph
User Online Now Click here to see the profile of this user
joomlaplug JoomlaPlug.com
Re:Page is not executing 1 Year, 6 Months ago  
Hi there! Indeed, from the cronlog you attached, it doesn't seem the script is being run as all, what is the cron type and cron command you used? Ovidiu
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
#6680
vrushali (User)
Fresh Boarder
Posts: 8
graphgraph
User Offline Click here to see the profile of this user
svrushali sawantvrushalid@hotmail.com Location: Pune, India
Re:Page is not executing 1 Year, 6 Months ago  
Hi,
Do you mean;
Task type: SSH command
Command to run: testfunction.php

I understand cron type here is "SSH command" and Cron command is "testfunction.php" this is the php file I kept at root of my server which contain mail function.

On running this file I send mail on my email ID.
If I run this file directly from browser then I am receiving a mail.

Let me know if I am doing anything wrong.

Regards
-Vrushali
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
#6681
vrushali (User)
Fresh Boarder
Posts: 8
graphgraph
User Offline Click here to see the profile of this user
svrushali sawantvrushalid@hotmail.com Location: Pune, India
Re:Page is not executing 1 Year, 6 Months ago  
Please find attached image file where you can see my cron job settings.
File Attachment:
File Name: Jcron_Myjob.jpg
File Size: 33092
 
Report to moderator   Logged Logged  
 
Last Edit: 2010/10/29 05:11 By vrushali. Reason: File not attached
  The administrator has disabled public write access.
#6682
Ovidiu - Support! (Admin)
Admin
Posts: 2927
graph
User Online Now Click here to see the profile of this user
joomlaplug JoomlaPlug.com
Re:Page is not executing 1 Year, 6 Months ago  
The command you have there is incomplete, it also needs the php executable in front on it as well as the full server path to that script, like

php /home/.../pathto/.../testfunction.php

Ovidiu
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
#6683
vrushali (User)
Fresh Boarder
Posts: 8
graphgraph
User Offline Click here to see the profile of this user
svrushali sawantvrushalid@hotmail.com Location: Pune, India
Re:Page is not executing 1 Year, 6 Months ago  
Hi Ovidiu,

Thanks you so much, will sure try this and get back to you if any challenge.
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
Go to top Post Reply
Powered by FireBoardget the latest posts directly to your desktop

Search JoomlaPlug.com

All rights reserved to JoomlaPlug.com ©2006-2012!

The Joomla!® name is used under a limited license from Open Source Matters in the United States and other countries.
JoomlaPlug.com is not affiliated with or endorsed by Open Source Matters or the Joomla! Project.