LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 03-27-2015, 12:17 PM   #1
Pscylo
Member
 
Registered: Mar 2008
Distribution: Slackware 13.37 64bit & 32bit
Posts: 48

Rep: Reputation: 2
Crontab - have to restart crond after rebooting but scripts works fine thereafter


As per title. I have a simple shell script that displays some info on the desktop of my Slack/Fluxbox machine. I don't think it's distro specific hence asking here.

The script works fine, both from a shell and from crontab itself, but won't run after booting unless I stop and start crond. The stop/start so far I've only done when X has been running and I'm guessing it's something to do with that since the machine only boots to a console login and I start X after logging in.

Any thoughts?
 
Old 03-27-2015, 01:10 PM   #2
linosaurusroot
Member
 
Registered: Oct 2012
Distribution: OpenSuSE,RHEL,Fedora,OpenBSD
Posts: 982
Blog Entries: 2

Rep: Reputation: 244Reputation: 244Reputation: 244
Could it be running but displaying on a tty you don't see? Alt-F1 or similar may show you the other screens.
 
  


Reply

Tags
crond, restart



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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
I placed a script in the scripts folder to record music . This works fine but.... p3aul Ubuntu 8 02-23-2012 09:53 PM
Crond not reading/running /etc/crontab file [CentOS5] neocookie Linux - Software 6 09-24-2008 11:59 AM
Fedora 9 gnome xrandr causes X11 restart, works fine in KDE thorsten becker Fedora 0 07-01-2008 01:53 AM
Shell pgm works fine in command line but not in Crontab oracledba_raja Linux - General 2 11-24-2006 12:14 AM
Crond Dead But Subsys Locked, cannot restart cron services jmm8142 Linux - Software 4 05-23-2005 12:41 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 08:01 AM.

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