Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 12-17-2007, 11:35 AM   #1
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
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.


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 > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 07:12 AM.

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