LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 06-12-2009, 01:46 AM   #1
kumartnj
LQ Newbie
 
Registered: Apr 2009
Posts: 15

Rep: Reputation: 0
Question copy or backup crontab


All,

How to copy or backup the crontab file.please someone help me on this.

Thanks in Advance !

-Kumar
 
Click here to see the post LQ members have rated as the most helpful post in this thread.
Old 06-12-2009, 02:10 AM   #2
colucix
LQ Guru
 
Registered: Sep 2003
Location: Bologna
Distribution: CentOS 6.5 OpenSuSE 12.3
Posts: 10,509

Rep: Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983
Code:
crontab -l > $(date +%Y%m%d).crontab
 
2 members found this post helpful.
Old 07-18-2014, 07:46 PM   #3
l33y
Member
 
Registered: Jan 2014
Location: Gulf Coast, USA
Distribution: Xubuntu
Posts: 51
Blog Entries: 1

Rep: Reputation: Disabled
colucix, when I execute that command with a sudo prefix, I get the message:

Quote:
no crontab for root

Last edited by l33y; 07-18-2014 at 10:44 PM.
 
Old 07-19-2014, 07:02 PM   #4
lleb
Senior Member
 
Registered: Dec 2005
Location: Florida
Distribution: CentOS/Fedora/Pop!_OS
Posts: 2,983

Rep: Reputation: 551Reputation: 551Reputation: 551Reputation: 551Reputation: 551Reputation: 551
then there is no cron set for root. not a big deal
 
  


Reply



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 rsync does not backup to NAS device Astol Linux - Software 1 09-24-2008 12:04 AM
Crontab Backup Hynesm Linux - Server 8 10-23-2007 09:12 PM
Backup with rsync and crontab gjblackford Linux - General 4 01-04-2007 08:53 AM
LXer: Scheduling Backup Jobs using at and crontab LXer Syndicated Linux News 0 04-22-2006 01:24 AM
system backup using crontab goodolday Linux - General 1 04-26-2005 04:28 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 03:23 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