今天上午, 看到有人转发某派出所的微博:
派出所发布这样的微博应是出于好意, 告诉大家要小心黑客. 但我的问题是, 是否了解什么叫做”Java”软件?
由于微博中并无新闻链接, 所以在下认为应该了解清楚, 本着一颗学习的心, 咱们先上美国国土安全部的网站:
http://www.dhs.gov/ 虽然是政府网站, 但搜索是的确可以用的! 以”java”作为关键字进行搜索:
第一条是来自US-CERT.gov的警告:
US-CERT 是 DHS的下属单位, Alert地址: http://www.us-cert.gov/cas/techalerts/TA13-010A.html
请注意, 有关的版本号为: Java 7 (1.7/1.70) 该页下方的解决方案:
Solution
Disable Java in web browsers
This and previous Java vulnerabilities have been widely targeted by attackers, and new Java vulnerabilities are likely to be discovered. To defend against this and future Java vulnerabilities, consider disabling Java in web browsers until adequate updates are available. As with any software, unnecessary features should be disabled or removed as appropriate for your environment.
Starting with Java 7 Update 10, it is possible to disable Java content in web browsers through the Java control panel applet. From Setting the Security Level of the Java Client:
For installations where the highest level of security is required, it is possible to entirely prevent any Java apps (signed or unsigned) from running in a browser by de-selecting Enable Java content in the browser in the Java Control Panel under the Security tab.
If you are unable to update to Java 7 Update 10 please see the solution section of Vulnerability Note VU#636312 for instructions on how to disable Java on a per-browser basis.
所以本人觉得 派出所的微博有点太夸张了. 所以@派出所对这个问题展开讨论, 派出所给出回复, 提及几个网站, 其一位新加坡联合早报:
该报到援引 路透社的消息, “当局说,所有主要的作业系统(OS)和浏览器都受到这项攻击的影响,建议卸除个人电脑内所有Java程式”,我们再来看路透社的有关新闻:
该文也只是使用”Java Software”简单引述, 并未提及任何版本号码.
从路透社开始, 到联合早报, 再到国内大小专业/非专业网站/微博 整理转发, 一个Java 1.7的安全漏洞被上升为”Java软件”. 楼越盖越歪.
我并不担心缺乏信息, 我担心的是被垃圾信息包围.
Need to catch the exit code, handle the Error based on the exit code.
Use %ErrorLevel% – Almost all applications will set an exit code when complete (by conversion, 0 means successful).
Example 1:
copy file1.txt file3.txt
ECHO ...%ErrorLevel%
copy fileNotExisting.txt f.txt
ECHO %ErrorLevel%
Output:
“1 file(s) copied”
0
“The system cannot find the file specified.”
1
Example 2:
SET SSIS_EXIT_CODE=%ErrorLevel%
copy "%PKG_PATH%\Logs\….dtsx.log" ..
IF %SSIS_EXIT_CODE% NEQ 0 (
EXIT /B %SSIS_EXIT_CODE%
)
Links:
http://ss64.com/nt/errorlevel.html
http://ss64.com/nt/exit.html
How to check the exit code of the last command in batch file?
The Apache Flex community is pleased to announce the release of Apache Flex 4.9.0!
Apache Flex is a highly productive, open source application framework for building and maintaining expressive applications that deploy consistently on all major browsers, desktops and devices (including smartphones, tablets and tv).
This is the first release since Apache Flex has been made a top level Apache Software Foundation project.
Apache Flex is available in source and binary form from the following download page: http://flex.apache.org/download.html
It’s recommended you install Apache Flex by using the Apache Flex IDE installer.
When downloading from a mirror site, please remember to verify the downloads using signatures or MD5 hashes.
For more information on Apache Flex, visit the project home page.
Thank you for using Apache Flex,
The Apache Flex Community
https://blogs.apache.org/flex/entry/apache_flex_4_9_0
I got 4 jobs: 1, 2, 3, 4.
2’s condition: s(1); 3’s condition: s(2); 4’s condition: s(1) & s(2) & s(3)
all these jobs are daily jobs
the first day is ok. the second day, the 4th job triggered mutilple times:
I think when 1 success, because the status of 2 and 3 are still ‘success'(the last days status), so the job 4 triggered,
then 2 success, 4 triggered again…
but I only want these jobs run in the same period.
1. the first solution I can found is using ‘Look-Back Dependencies’:
Example: Define Starting Conditions Based on Job Success in a Given Duration
This example (specified in the job definition for JobA) runs JobA if JobB has completed successfully in the last 12 hours:
condition: success(JobB,12)
Example: Define Starting Conditions Based on the Status of Multiple Jobs in a Given Duration
This example (specified in the job definition of JobA) runs JobA if JobB has failed in the last 30 minutes and JobC has completed successfully on external instance XYZ in the last 90 minutes:
condition: failure(JobA,00.30) AND success(JobC^XYZ,01.30)
This should can work, but I based on my test, seems still cannot fix my issue.
2. Using Box.
Put all these jobs in one Box, and when the Box is triggered, all the jobs’s status in this box will be reset.
Problem: Java application invoke SSIS package using ‘Process’, when the package failed, Auto-sys treat as success.
Solution: When ‘Process’ exit with a non-zero status code:
System.exit(10); // by convention, a nonzero status code indicates abnormal termination.
(Actually, we can config this status in Auto-Sys)
http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/System.html#exit(int)
Auto-sys Reference Guide:
http://totalcomputerps.com/mdpilarf/UAJM_Ref_ENU.pdf
// Proudly powered by Apache, PHP, MySQL, WordPress, Bootstrap, etc,.