Reload is just reading the file with crontab:
But if the service isnt availabe...
So what does you IT do? stop the service ? or remove all found cronfiles in /var/spool/cron/crontabs ? In which case you keep a copy in your home directory and reload as mentionned above, then to modify you modify your file with vi rather than crontab -e
then you can compare if what is scheduled matches what you have by comparizon with your original file etc... You could create an alias to load if you want...
hi, every body. i have in trouble that how to load a dynamic library by hand.
for example, i know how to generate a dynamic library and how to link a dynamic library in makefile.
generate a dynamic library:
add -dy -G behind cc
link a dynamic library in makefile:
add -dy -Bdynamic behind cc... (0 Replies)
I'm trying to create a new crontab entry for a user on a debian box but whenever I do a crontab -e or crontab -u username -e then edit the crontab (with vim as my default editor) and :wq. I get the error message:
no crontab for username - using an empty one
crontab: no changes made to crontab... (18 Replies)
hi all
need your help.
I am wrting a script that will load data into the table.
then on another load will append the data into the existing table.
Regards
Ankit (1 Reply)
how does one save changes in crontab? i am using vi editor. Issued crontab -e command on the prompt. however not sure how to save changes. :wq doesnt work. any idea.... (10 Replies)
I edit crontab with vi editor, i delete the lines i wanted, but i can't save!
i tried the :w, :wq, ZZ commands and it seems like vi is unfamiliar with it.
any suggestions? (3 Replies)
Hi,
I'm trying to save a crontab configuration using SSH, acessing a Linux machine from a Windows desktop.
So, in the prompt I type "crontab -e", to edit crontab, and a window is opened.
But after writing the changes, I press Save button but it seems not working, because when... (1 Reply)
How to save crontab?
I have try both method below but can't save it.
FIRST METHOD error message
hit 'escape' and then the following:
:wq
http://i.imgur.com/nY2YI.jpg
SECOND METHOD error message
ctrl + s
http://i.imgur.com/ECzl0.jpg (3 Replies)
I am trying to modify the "corestat v1.1" code which is in Perl.The typical output of this code is below:
Core Utilization
CoreId %Usr %Sys %Total
------ ----- ----- ------
5 4.91 0.01 4.92
6 0.06 ... (0 Replies)
Discussion started by: Zam_1234
0 Replies
LEARN ABOUT BSD
cron
CRON(8) System Manager's Manual CRON(8)NAME
cron - clock daemon
SYNOPSIS
/usr/sbin/cron
DESCRIPTION
Cron executes commands at specified dates and times according to the instructions in the files /etc/crontab and /etc/crontab.local. None,
either one, or both of these files may be present. Since cron never exits, it should only be executed once. This is best done by running
cron from the initialization process through the file /etc/rc; see init(8).
The crontab files consist of lines of seven fields each. The fields are separated by spaces or tabs. The first five are integer patterns
to specify:
o minute (0-59)
o hour (0-23)
o day of the month (1-31)
o month of the year (1-12)
o day of the week (1-7 with 1 = Monday)
Each of these patterns may contain:
o a number in the range above
o two numbers separated by a minus meaning a range inclusive
o a list of numbers separated by commas meaning any of the numbers
o an asterisk meaning all legal values
The sixth field is a user name: the command will be run with that user's uid and permissions. The seventh field consists of all the text
on a line following the sixth field, including spaces and tabs; this text is treated as a command which is executed by the Shell at the
specified times. A percent character (``%'') in this field is translated to a new-line character.
Both crontab files are checked by cron every minute, on the minute.
FILES
/etc/crontab
/etc/crontab.local
7th Edition October 23, 1996 CRON(8)