I am a beginner on scripting. Anyone know how I can script a way to do URL checking for a certain domain? I have a list of urls that I can also feed the script. I want it to be run automatically through a cron. Any examples or ideas?
Thanks in advance,
olmos
How do I get the first character out of a string? For example,
John Doe, J. I am looking for a way to just get the initials out of a name.
Thanks in advance,
olmos
URLS with cgi-bin and using https do not seem to work. I am using Squid 2.6 stable 6 on RH Linux 4.
How do I get these types of urls to work? I have an allow list, to allow the site test.edu/cgi-bin/email. The URL also is using https (port 443, which is an allowed safe port). This is for a...
I have a textarea field box when submitted gets entered into
the database. When data is entered and a hard return is put
into it, it gets added to the database, which is what I want it to do. I am using the textformat udf .
My problem is if someone decides to just copy and paste text in the...
I need to send out text not html email which contains information that should be aligned as if in a table.
For example,
TITLE SUBJECT
xxxxxxxproduct atetelj
yy ccccc
Is there a way to align text such as in a table format
without using tables in CFMAIL...
I'm new to Java. Can anyone tell me what this
means ? I am running a coldfusion tag CFX_sleep which
uses Java and I keep on getting this error.
Error: Unhandled System exception ! java.security.AccessControlException: access denied (java.lang.RuntimePermission createClassLoader). Java...
I am trying out the cfx_sleep tag and it seems to
get the following error when I run the cfm page
Error: java.security.AccessControlException: access denied (java.lang.RuntimePermission createClassLoader). Java exception occurred in call to method.
I am running CF 5 on Solaris and have in...
I have to send out emails to a list which
then I am using procmail and a unix script
to save the email message that was
sent out to a file on the server.
However, the script seems to not be able to keep up
with all the email that gets sent out through CFMAIL,
sometimes the files do not get...
How can I replace any text that contains more than
one dash or asterisk and is followed by words to be replaced with a space.
I tried this but it does not seem to remove
the words after the dashes or asterisks.
<cfset new_text = #REReplace(old_text, '[-+]|[*+](.*)', " ", "ALL")#>...
I need to get a certain paragraph out from a list of files which I do a cfloop over.
The paragraph I need begins with the word "This" and the end of
the paragraph is followed by a row of asterisks.
Here is an example of what one of the files may contain,
....text...
This file contains...
How can I get a list of files returned based on a file which
contains part of the file name ?
For example, I have a file which contains
test1
test2
test3
and I need to find all the files within the directory which begin with each line . I then need to input the date of the file. How can...
I have a file that contains a list partial names of files. From that list I need to do an ls command to find the complete name of the files and output it to another file.
For example : my file name_list contains
tom_smith
joe_doe
...
The above list is the beginning of the file names that I...
I am having trouble converting a string which is
is a date such as 050419 (yymmdd) to a dateformat like 2005-April-19.
<cfset find_date = #DateFormat(find_date, "yyyy-mmmm-d")#>
<cfoutput>#find_date#</cfoutput>
it shows up as 2038-January-14
How can I convert it correctly ?
Thanks,
olmos
I need to send out email using a specific file for
each email. For example, I have 5 recipients each have a unique file
located on the server that needs to be included in the body of the email sent, not as an attachment. I have the recipient's email information in a database and can query this...
I need to get everything between two words then put
that in a file renamed with the original filenameand "-body" and the end of it . file1-body
I keep on getting $file-body: Ambiguous error.
What am I doing wrong?
------------------
#!/bin/csh -f
foreach file ('cat ./filelist')
sed -n...
I have a group of files with the name as
such: John_Smith05-04-13.txt
Marge_Doe-Johnson05-04-13.txt
and need to rename them to remove the dash only after any number, so that it will be
like Marge_Doe-Johnson050413.txt
How can I do that ?
sed command ....
thanks,
olmos
I have a group of files some beginning with the similar name and date it was created at the end of the filename. For example, john_smith_2005-04-16
john_smith_2005-04-10
joe_harris_2005-04-01
joe_harris_2005-04-03
I need a way to get the latest version of a group of files, for
example I need...
I am trying to do a full export but keep on
getting the same error. I'running Oracle 9.2.0.4 enterprise edition on Solaris. I have run catpatch.sql, catexp.sql, and utlrp.sql with no errors. I am getting the error below.
Anyone know how to fix this ?
...
. about to export DBSNMP's tables...
I am trying to upgrade Oracle 9i Standard edition to Enterprise edition on a Solaris 9 system. I uninstalled standard and installed the Enterprise edition software only. When it asked me to run root.sh I recieved the following error. root: not found root.sh 06550: not found.
The root.sh file...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.