Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Server
User Name
Linux - Server This forum is for the discussion of Linux Software used in a server related context.


  Search this Thread
Old 06-23-2007, 05:26 PM   #1
Registered: Apr 2006
Location: /*Egypt */ //cairo
Distribution: Ubuntu 7.04 , SLED 10 , Fedora , RHEL 5
Posts: 312

Rep: Reputation: 32
2 simple questions in the webmin .

hello all ...,

iam using the webmin for administration issues but i have 2 questions

1- in the cron and scheduled jobs there are many options are available like create new cron job , Control user access to cron job

but there is another option o select "Create a new environment variable" with fields 1-for user 2-variable name 3-value -Add environment variable with (two options 1-Before all cron jobs for user 2-After all cron jobs)

i want to know what is the use of this option ......

2-at the MIME types module at the handler program filed there is a '%s' beside the program name i want to know what is this "'%s'" .

and at the creation of the new MIME Type program there is option called -Test command what is this ?
-and also i want to know what is Display output in terminal,produces lots of output ???

--By the way any help will be appreciated and thanks for this great forum

Last edited by adam_blackice; 06-23-2007 at 05:32 PM.
Old 06-25-2007, 07:07 PM   #2
LQ Newbie
Registered: Jun 2007
Posts: 14

Rep: Reputation: 0
Hey Adam,

The environment variables allow you to pass information to programs called by cron. If you don't know you need them, then you don't need them. I've never used the feature in all of my years of system administration. But, if you are running dozens of tasks and want to use a single value in all of them (like, say, a username or a email address), you could create it in one place and then whenever you need to change it, you wouldn't have to change it in every cronjob--just the variable. Same basic concept as const variables in programming (set it at the beginning and then call it throughout the program by name, so if it ever changes you only have to change it in one place).

In MIME Types the %s is a variable that represents the filename. So, when you open a file of type "application/msword" the system will fire up "ooffice", but will also stick the filename of the file on the end so the program knows what to open. This is a common convention in UNIX/Linux systems, and is used in many desktop systems in one form or another.
Old 06-25-2007, 08:31 PM   #3
Registered: Apr 2006
Location: /*Egypt */ //cairo
Distribution: Ubuntu 7.04 , SLED 10 , Fedora , RHEL 5
Posts: 312

Original Poster
Rep: Reputation: 32
iam very thankful for you really thanx swelljoe


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Webmin simple backup fails Tenover Linux - Software 3 12-16-2005 11:32 AM
Simple Questions...Hopfully Simple Answers. caps_phisto Linux - General 3 12-21-2004 12:40 PM
Webmin, simple module PLZ HELP! djkoe Linux - General 0 02-08-2004 08:51 AM
dns/webmin questions natrixx Linux - General 1 06-25-2003 01:33 PM
Webmin Questions...WEBSERVER HELP vbp6us Linux - General 2 10-01-2002 01:34 PM > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 07:54 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration