Linux Help
guides forums blogs
Home Desktops Distributions ISO Images Logos Newbies Reviews Software Support & Resources Linuxhelp Wiki

Welcome Guest ( Log In | Register )



Advanced DNS Management
New ZoneEdit. New Managment.

FREE DNS Is Back

Sign Up Now
 
Reply to this topicStart new topic
> Cron Not Working?
lss1
post May 21 2005, 11:14 PM
Post #1


Whats this Lie-nix Thing?
*

Group: Members
Posts: 1
Joined: 21-May 05
Member No.: 5,021



Hello,
Im new to linux. This is a dedicated server running Fedora Core 2. I am trying to get a cron job to run its a php script that backs up the database. I can run this command anywhere to get it to work: php /root/bak.php, and thats what I have in cron, entry like this:

[root]# crontab -l
# DO NOT EDIT THIS FILE - edit the master and reinstall.
# (bak installed on Sun May 22 00:13:34 2005)
# (Cron version -- $Id: crontab.c,v 2.13 1994/01/17 03:20:37 vixie Exp $)
20 0 * * * php /root/bak.php
[root]#


but it comes that time and noting happens in the cron log it appears as this:

May 22 00:20:00 216-55-186-242 CROND[2647]: (root) CMD (php /root/bak.php)

Any ideas? Thanks,
John
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 12th December 2017 - 03:23 AM