It happened to me once and it took me a while to figure it out. The probleme comes from the %. I have no idea why but for some reason, in the crontab, they must be escaped. Try:
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)
I'm nearly finished my program i've got everything in place and than when i run it it comes back with the reply mv: command not found. This is the code that seems to be causing the problem.
elif
then
echo "There are more than one '$1' files in the system."
echo "Please... (2 Replies)
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)
Hi All,
Using Expect script when I run it manually it works. But when I put the entry in crontab, the job is still running after 15 hours. The script was created as root. I don't think it's a permission issue. Any idea?
This is what I have under root crontab...
00 18 * * 1-5... (4 Replies)
Hi....
cd command is not working when dual string drive/volume name is passed to cd through variables.......
For Ex....
y=/Volumes/Backup\ vipin/
cd $y
the above command gives error.......
anyone with a genuine solution ? (16 Replies)
I have made a script to execute an IDL routine with the purpose to plot data on a fixed time.
The problem is that when I include this script in the crontab to run it every night, the IDL part doesn't work (the other commands, like getting data from the database, are carried out though).
This... (4 Replies)
Hi All.
Little mystery here. I've been teaching myself perl, and I want to execute regular linux / unix commands i.e. cd .. , cd /etc and have been using the command(s)
execute ("cd ..");
or
system ("cd ..");
I don't get any error messages, even when I do a debug, but for some reason... (5 Replies)
I have a script (/home/admin/run_bkup.sh) that I can run manually to kick off an executable job. I want to run it in crontab, but it doesn't work.
Here's the script:
shell=/bin/bash
today=$(date +"%m-%d-%y")
/opt/CPsuite-R77/fw1/bin/upgrade_tools/upgrade_export mgt-svr-bkup-$today << EOF
y... (18 Replies)
Hello
I have a problem with the crontab command
when I run a code containing Curl on the command line it runs without fail but as soon as I program it with crontab it executes everything except the curl returns fail
thank you for helping me to resolve this problem because since Monday I look... (14 Replies)
Discussion started by: beautymind
14 Replies
LEARN ABOUT OSF1
reconstruct
reconstruct(8) System Manager's Manual reconstruct(8)NAME
reconstruct - Reconstructs IMAP mailboxes
SYNOPSIS
/usr/bin/reconstruct [-r] mailbox...
/usr/bin/reconstruct -m
OPTIONS
Recursively reconstruct all sub-mailboxes of the mailboxes or mailbox prefixes given as arguments. Rebuild the mailboxes file. Uses what-
ever data in the existing mailboxes file it can collect, then scans all partitions listed in the imapd.conf(4) file for additional mail-
boxes.
DESCRIPTION
The reconstruct command rebuilds one or more IMAP mailboxes. When invoked with the -m switch, it rebuilds the master mailboxes file. It
can be used to recover from almost any sort of data corruption.
If the reconstruct command can find existing header and index files, it attempts to preserve any data in them that is not derivable from
the message files themselves. The state reconstruct attempts to preserve includes the option names, option state, and internal date. The
reconstruct command derives all other information from the message files.
The reconstruct command reads its configuration options from the imapd.conf(4) file.
The reconstruct command does not adjust the quota usage recorded in any quota root files. After running the reconstruct command, run the
imapquota(8) command with the -f switch in order to fix the quota root files.
FILES
Configuration file for the IMAP server
SEE ALSO
Commands: cyradm(1), deliver(8), imapd(8), imapquota(8)
Files: imapd.conf(4)reconstruct(8)