- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- Re: cronjob is not running
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-28-2008 10:30 PM
тАО08-28-2008 10:30 PM
cronjob is not running
I want to schedule cronjobs for backup scripts.I schedule it but it is not running.I have cron.deny empty.
- Tags:
- cron
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-28-2008 11:10 PM
тАО08-28-2008 11:10 PM
Re: cronjob is not running
how r u adding script to cron here?
what is there is cron.allow file ?
you need to add user id in cron.allow first
switch to that user
set editor to vi (export EDITOR=vi)
run crontab -e
update/save and close
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-28-2008 11:15 PM
тАО08-28-2008 11:15 PM
Re: cronjob is not running
if cron.allow exists then you better add userid into this file using vi
also check if cron process is active
ps -ef|grep cron |grep -v grep
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-28-2008 11:24 PM
тАО08-28-2008 11:24 PM
Re: cronjob is not running
if your cronn.deny is empty and cron.allow is does not exist, In this
case, all users of the system are granted cron access.so be careful of this situation.
>>.I schedule it but it is not running
try stopping the cron damaen and then start it again,
/usr/sbin/cron stop
/usr/sbin/cron start
check then by ps -ef|grep con
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-28-2008 11:29 PM
тАО08-28-2008 11:29 PM
Re: cronjob is not running
i am attaching a file for various options and combination for cron.allow and cron.deny. Go thru it and check your file according to that ..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-29-2008 12:16 AM
тАО08-29-2008 12:16 AM
Re: cronjob is not running
What u have answered the same problem i have but usr/sbin/cron start is not available.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-29-2008 02:57 AM
тАО08-29-2008 02:57 AM
Re: cronjob is not running
As documented in cron(1M), that should be: /sbin/init.d/cron
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-29-2008 03:01 AM
тАО08-29-2008 03:01 AM
Re: cronjob is not running
ps -ef | grep cron
/sbin/init.d/cron status
/sbin/init.d/cron stop
/sbin/init.d/cron start
Check for onwer of the cron job in cron.allow file
You can edit crontab
crontab -e
Thanks
SKR
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-29-2008 03:01 AM
тАО08-29-2008 03:01 AM
Re: cronjob is not running
In sbin /init.d is not available.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-29-2008 03:19 AM
тАО08-29-2008 03:19 AM
Re: cronjob is not running
What does this show:
ll /sbin/init.d/cron
ls /sbin/init.d/ | wc
This file is part of:
OS-Core.UX-CORE: /sbin/init.d/cron
PHCO_32371.UX-CORE: /sbin/init.d/cron