![]() |
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts and shell scripting languages here. |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Crontab problem | jess_t03 | AIX | 3 | 05-22-2009 02:42 AM |
| Crontab problem | Terrible | Shell Programming and Scripting | 1 | 07-02-2006 05:35 PM |
| crontab problem | rajan_ka1 | Shell Programming and Scripting | 26 | 02-21-2006 02:17 AM |
| Problem with Crontab | Zak | UNIX for Dummies Questions & Answers | 2 | 12-20-2005 05:44 AM |
| crontab problem | guest100 | UNIX for Dummies Questions & Answers | 19 | 03-31-2002 04:31 AM |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
||||
|
Crontab Problem for maintenance
hi All i have problem for crontab command for maintenance mail server.
we call crontab file is maintenance.sh on root directory /maintenance.sh is case we maintenance to delete .log dan .txt in mail server, instruction is 1. /var/spool/qmailscan/ 2.rm -f *.log 3.cd quarantine/new/ 4.rm -f * 5.reboot Step i use : 1. vi /maintenance.sh #!/bin/bash cd /var/spool/qmailscan/ rm -f *.log cd quarantine/new/ rm -f * reboot 2. i edit crontab with crontab -e 0 0 * * * root /maintenance.sh i want execute crontab everyday at time 24.00 Thanks for all solution and how to write crontab language. Reggard Moslemovic |
| Bookmarks |
| Tags |
| crontab |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|