Sponsored Content
Top Forums Shell Programming and Scripting How to detect and fix why crontab job is not executed? Post 303031923 by MadeInGermany on Thursday 7th of March 2019 03:23:40 PM
Old 03-07-2019
If the mtime shown with ls -l was manipulated, ls -lc will show it (it shows the ctime, the last change of the attributes).
This User Gave Thanks to MadeInGermany For This Post:
 

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

ant not being executed as cron job

i have a script that uses an ant build.xml and its targets to pull a project from a cvs server, attempt to build the project, and then email me the results. When I run the script (either @ CLI or as a cron job) while I am logged in, everything works fine. However, if the script is set up to run... (5 Replies)
Discussion started by: kingfinny
5 Replies

2. Shell Programming and Scripting

Shell script doesn't get executed using crontab

I have the following crontab entry to run a shell script for every 30 minutes of every day: 30 * * * * $HOME/main.sh > $HOME/main.log 2>$HOME/error.log after I created the crontab file I have also done: $crontab my_crontab I also check to make sure it exists, by using the following... (11 Replies)
Discussion started by: radhika
11 Replies

3. Shell Programming and Scripting

bash scripting cannot executed in crontab

hi guys, i have a problem. a week ago i made a successful crontab that execute bash scripting daily, it worked well but now, it doesn't work at all, in the mail i have: " /home/jimmy/cha/scripts/cekpderr produced the following output: lagi jalan /home/jimmy/cha/scripts/cekpderr:... (6 Replies)
Discussion started by: jimmbp
6 Replies

4. Shell Programming and Scripting

Routine doesn't give output when executed in crontab

I have a script running in the crontab that gets data from a database every hour. Now I would like to execute a fortran routine to process the data in some way, after getting it and saving it locally. I have added the following commands to my script: set convert =... (1 Reply)
Discussion started by: SharkM
1 Replies

5. Shell Programming and Scripting

Script errors out only when its executed via job

I wrote a script to shutdown the oracle database. The script works fine when I manually run the script. However, when i schedule a job, i get the following error. Shutting Down cmismart .................... ORA-01034: ORACLE not available ORA-27101: shared memory realm does not exist SVR4... (6 Replies)
Discussion started by: mrx1350
6 Replies

6. UNIX and Linux Applications

Log files to view job executed in Autosys -- Help ASAP

Hi all, I really need your help ASAP on this. Below is the description of my problem and a sketch of Autosys Job Activity Console ++++++++++++++++++++++++++++++++ File View Options +++++++++++++++++++++++++++++++ Job Name Description Status Command Machine... (1 Reply)
Discussion started by: sakal_woman
1 Replies

7. Shell Programming and Scripting

Users who desire to have their .profile executed must explicitly do so in the crontab entry. Why?

The .profile file should be read when the user logs in. So, there should be no need to execute .profile file again in a cron job (since the cron job is run after the user logs in). Doesn't the cron require login from the user. Then, from where does the cron execute? Please help!! (1 Reply)
Discussion started by: thulasidharan2k
1 Replies

8. Shell Programming and Scripting

crontab job not executed with variables

Hi, I am trying to execute a script (for once) during the booting time in Ubuntu system. However, the result is only showing the strings without without the variables. Here is the script: MgrIp=$(ec2-describe-instances --filter tag:Name=Mgr --filter instance-state-name=running | egrep... (4 Replies)
Discussion started by: turki_00
4 Replies

9. UNIX for Dummies Questions & Answers

Cron job executed at wrong time

Dear *nix users. I'm on Mac OS 10.6 / Terminal and try to use crontab to schedule two scripts every 30 minutes and every 41 minutes. I followed the man instructions and created / installed a crontab file for the current user:crontab -e with the following content */30 * * * *... (4 Replies)
Discussion started by: moxnos
4 Replies

10. Shell Programming and Scripting

Detect changes to crontab

Dear All, My server is running crontabs of 4 different users. I want to develop a script that whenever a particular change occurs in a crontab , it is detected and the particular change is noted into a file. Kindly let me know of suggestions on how it can be achieved. My algo would be: ... (1 Reply)
Discussion started by: Junaid Subhani
1 Replies
EXT3GREP(8)						 recover files on ext3 filesystems					       EXT3GREP(8)

NAME
ext3grep - ext3 file recovery tool SYNOPSIS
ext3grep [OPTIONS] FILE ... DESCRIPTION
ext3grep is a simple tool intended to aid anyone who accidentally deletes a file on an ext3 filesystem, only to find that they wanted it shortly thereafter. OPTIONS
--superblock Print contents of superblock in addition to the rest. If no action is specified then this option is implied. --print Print contents of block or inode, if any. --ls Print directories, one line per entry. See the FILTERS section for details on filtering this output. --accept FILE Accepts 'file' as a legal filename. Can be used multiple times. If you change any --accept you must remove BOTH stage* files! --journal Prints the contents of the journal. --show-path-inodes Show the inode of each directory component in paths. Filters: --group gid Only show/process files owned by process group gid. --directory Only show/process process directory inodes. --after dtime Only show/process entries deleted on or after dtime. --before dtime Only show/process entries deleted before dtime. --deleted Only show/process deleted entries. --allocated Only show/process allocated inodes/blocks. --unallocated Only show/process unallocated inodes/blocks. --reallocated Do not suppress entries with reallocated inodes. Inodes are considered 'reallocated' if the entry is deleted but the inode is allo- cated, but also when the file type in the dir entry and the inode are different. --zeroed-inodes Do not suppress entries with zeroed inodes. Linked entries are always shown, regardless of this option. --depth depth Process directories recursively up till a depth of 'depth'. Actions: --inode-to-block inode_num Print the block that contains inode inode_num. --inode inode_num Show info on inode inode_num. If --ls is used and the inode is a directory, then the filters apply to the entries of the directory. If you do not use --ls then --print is implied. --block block_num Show info on block block_num. If --ls is used and the block is the first block of a directory, then the filters apply to entries of the directory. If you do not use --ls then --print is implied. --histogram=[atime|ctime|mtime|dtime|group] Generate a histogram based on the given specs. Using atime, ctime or mtime will change the meaning of --after and --before to those times. --journal-block block_num Show info on journal block block_num. --journal-transaction seq Show info on transaction with sequence number seq. --dump-names Write the paths of files to stdout. This implies --ls but suppresses its output. --search-start str Find blocks that start with the fixed string str. --search str Find blocks that contain the fixed string str. --search-inode block_num Find inodes that refer to block block_num. --search-zeroed-inodes Return allocated inode table entries that are zeroed. --inode-dirblock-table dir Print a table for directory path dir of directory block numbers found and the inodes used for each file. --show-journal-inodes inode_num Show copies of inode inode_num still in the journal. --restore-file path Will restore file path. path is relative to root of the partition and does not start with a '/' (it must be one of the paths returned by --dump-names). The restored directory, file or symbolic link is created in the current directory as ./path. --restore-all As --restore-file but attempts to restore everything. The use of --after is highly recommended because the attempt to restore very old files will only result in them being hard linked to a more recently deleted file and as such pollute the output. --show-hardlinks Show all inodes that are shared by two or more files. --version, -[vV] Prints the version information and exits. --help, Prints a help message and exits. EXAMPLES
Restoring all files from the ext3 partition/file /backup/sda1: ext3grep --restore-all /backup/sda1 Listing the files owned by GID 1000 on /backup/sda1: ext3grep --ls --group 1000 /backup/sda1 Finding all files containing the string Critical_report in their name on /backup/sda1: ext3grep --dump-names /backup/sda1 | grep 'Critical_report' LIMITATIONS
Do not attempt to use ext3grep for recovery from a mounted filesystem. Ever. No, not even then. ext3grep sometimes runs out of memory spare on 32-bit architectures and crashes. It is highly recommended that you run ext3grep in a 64-bit environment when dealing with large filesystems, though this is seen as a bug. ext3grep cannot recover files if there are no remnants of them. Some files that ext3grep recovers may have trailing null bytes - just scrape them off like the burnt bits on toast. SEE ALSO
debugfs(8) AUTHOR
ext3grep was written by Carlo Wood <carlo@alinoe.com>. This manual page was written by Rich Ercolani <rercola@acm.jhu.edu>, for the Debian project (but may be used by others). It may be distrib- uted under the same terms as ext3grep, the GNU General Public License, either version 2 or (at your option) any later version. 0.8.0 2008-09-14 EXT3GREP(8)
All times are GMT -4. The time now is 05:54 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy