LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 12-17-2007, 11:35 AM   #1
wahoo_128
LQ Newbie
 
Registered: Dec 2006
Posts: 1

Rep: Reputation: 0
crontab file


on debian, how do i test crontab file?
 
Old 12-17-2007, 12:27 PM   #2
PB0711
Member
 
Registered: Aug 2004
Location: London, UK
Distribution: Ubuntu 10.10, ubuntu 11.04, suse 9.2, OSX
Posts: 259

Rep: Reputation: 30
What exactly do you mean by test. If you mean just to see if the file takes when you edit it then your system should automatically test the file if you've saved the crontab in vi with ':wq'. Unless you've edited the crontab file in '/etc' which is a big No. You should do crontab -e as what ever user you want it to run under.
If you just mean to test the system, then just make a script that will email you something or write a log report and ask crontab to write to it every minute or something simple. Once installed I've not heard of crontab not working right.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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



Similar Threads
Thread Thread Starter Forum Replies Last Post
crontab --u user file binary_0011 Linux - Newbie 2 05-06-2006 05:14 AM
crontab <file> command Derrick Thatcher Linux - Software 2 03-08-2006 04:29 AM
Crontab file located in,,, where? jon_k Linux - Software 4 07-04-2004 01:26 PM
CRONTAB file scottpioso Linux - General 14 11-29-2003 01:38 PM
Writing a crontab file Gnustome Linux - Software 2 11-02-2003 04:27 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 08:49 PM.

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