|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
crontab?
Should'nt the below execute once every minute or do I have my syntax wrong??
* * * * * mail -s "test" your.name@company.com |
|
#2
|
|||
|
|||
|
Is this in the global /etc/crontab or in a user crontab?
For the global one, you need to add the user name in column 6. Anyways, you should also supply the full path to "mail" if it doesn't work. HTH, M.
__________________
-- Manuel Hirsch - Linux, FreeBSD, programming, administration articles, tutorials and more. |
|
#3
|
|||
|
|||
|
How should it look if it was global with user 445342?? Thanks for the help.
Tracy |
|
#4
|
|||
|
|||
|
Quote:
User "445342" looks odd to me. Aren't unix UIDs restricted to 0..65535? Anyways, if you want to run a cron script from the global crontab for this user, it would look like this: * * * * * 445342 mail -s "test" your.name@company.com M. |
![]() |
| Viewing: Dev Shed Forums > Operating Systems > UNIX Help > crontab? |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|