2017年7月27日 星期四

clean you USB memory stick with diskpart

https://kb.acronis.com/sites/default/files/content/2006/3/1526/flashVista72008c.html


Creating Acronis Bootable Media on a USB Flash Drive

(!) This is not applicable to Acronis Backup & Recovery 10 Build 11639 or higher
These instructions apply to:
  • Windows 7
  • Windows Vista
  • Windows Server 2008
  1. Insert your flash drive;
  2. Hit Win-R and type cmd to open a command-line;
  3. Type diskpart to run Windows DiskPart utility:
  4. Type list disk to list all disks attached to the machine:
  5. Type select disk [number] to select your flash drive:
  6. Type clean to remove any formatting from the selected disk:
  7. Type create partition primary:
  8. Type select partition 1 to select the only partition, which you now have on the flash drive:
  9. Type active to mark the partition as active:
  10. Type format fs=fat32 to format the disk in FAT32 (otherwise the drive will not be bootable):
  11. Type assign to assign a drive letter:
  12. Type exit to exit Windows DiskPart utility:
  13. Run your Acronis product;
  14. Pick Tools -> Create Bootable Rescue Media;
  15. Follow all steps of the wizard and select your USB flash drive as media.

2017年7月21日 星期五

How can I get my Diskstation to reboot automatically

https://www.synology.com/en-uk/knowledgebase/DSM/help/DSM/AdminCenter/system_hardware_schedule

Power Schedule*

At Control Panel > Hardware & Power > Power Schedule, you can set the system to start up or shut down automatically at a specified time.

To add a new startup/shutdown schedule:

  1. Click Create button to open the Add Schedule dialog.
  2. Choose Startup or Shutdown.
  3. Set the Date and Time for startup or shutdown.
  4. Click OK.
  5. Click Save.
The new schedule will be added to the schedule list.


How can I get my Diskstation to reboot automatically

Postby Tonyel » Wed Sep 17, 2014 11:23 pm
I have a diskstation DS211j, which is storing video from a Y-Cam Bullet. However, if I leave it running for more than a week or so, it seems to stop recording video automatically, but it is OK once I have rebooted the diskstation.

Is there a way to schedule an automatic reboot of the diskstation every day, say at 9AM or something?

I tried the task scheduler, but it didn't manage to restart the diskstation after shutting it down.

Thanks in advance for any help!

Cheers,

Tony

Re: How can I get my Diskstation to reboot automatically

Postby Tonyel » Sun Sep 21, 2014 12:29 pm
Thanks for the reply. I tried this, setting the time off to be 12:10, and the time on to be 12:11. It turned off OK, but didn't turn itself back on again.

Am I doing something wrong?

Re: How can I get my Diskstation to reboot automatically

Postby Ate_Bit » Mon Sep 22, 2014 1:40 am
Also, if your unit takes more than one minute to power down, your settings won't work
NAS: DS413 running DSM 6.0
Configuration: SHR, with 1 disk data protection
HDD: 3x4TB

2017年7月19日 星期三

mirth pwhot using pre-caution

http://unicolet.blogspot.hk/2012/08/mirth-recover-space-when-mirthdb-grows.html

appdata\mirthdb\seg0

C:\Program Files\Mirth Connect\appdata\mirthdb\seg0

https://www.experts-exchange.com/questions/28694112/Derby-Database-Seg0-folder-dat-files-growing-too-large.html

Author Commentby:robthomas09
ID: 409026422015-07-28
I ended up uninstalling Mirth after exporting my channels and reinstalling mirth and all of the space freed up.


mirth 191.1.1.183 make no space for PWHOT1


As noted on our wiki, the embedded Derby database is not recommended for production use. It's meant for quick deployment, development, and testing. For production use, you should switch to one of the other supported databases (PostgreSQL, MySQL, Oracle, or SQL Server).
__________________

http://www.mirthcorp.com/community/wiki/display/mirth/System+Requirements

ePR unsubscribe

Aim to create message auto from sequential database then send

Caution , UNDEPLOY the channel after run. else 1) restart mirth will redepoly 2) keep creating file in high speed in your local harddrive. 3) eat up all your harddisk space 4) hang the mirth and no way to delete


  ALTER TABLE [PWHOT].[dbo].[sheet1]
   ALTER COLUMN patient_key nvarchar(50)

ALTER TABLE dbo.YourTable
   ALTER COLUMN YourColumnName BIT
 

How to change column datatype in SQL database without losing data


Hints: on DB Quere you can remove "[]"

How to use the Mirth Transformer

Hints :https://www.youtube.com/watch?v=nTAmnfLMO0A

SELECT a.userID, b.usersFirstName, b.usersLastName  FROM databaseA.dbo.TableA a inner join database B.dbo.TableB b  ON a.userID=b.userID

PHHOT.dbo.sheet1 = [PHHOT].[dbo].[sheet1]

Hints: java.lang.Thread.sleep(5000) on Mirth -> Destinations -> Step

How to create a table from select query result in SQL Server 2008 [duplicate]

Hints : SELECT * INTO NewTable FROM OldTable

Convert XML to HL7 messages using Mirth Connect

Hints : http://irwinj.blogspot.hk/2008/12/getting-started-with-mirth-part-1.html

HINTS: Trace: • Mirth Connect Introduction and Tutorial
http://wiki.patesco.ca/doku.php?id=hl7:mirth:tutorial

HINTS : https://amarnathks.wordpress.com/tag/mirth-beginner-tutorial/

Enable Run On Update Statement if you wish to update something after reading data from table. Here i have updated the status flag to 1 such that those details will not be read again. You can now see the selected data values in the right side of On Update SQL.


question : Is it possible to configure the File Writer to create a file name based on the PID.2 segment (chart ID) so each patient account would have it's own file for ADT messages?

HINTS: http://www.mirthproject.org/community/forums/showthread.php?t=11120
Yes, definitely. Extract the PID.2 out into a map variable, and then in the destination settings just drag your map variable into the Filename field

Transformer -> New Step -> Mapper -> change this step to "Channel Global Map"" -> set variable as filenamePatKey , and Mapping as msg['pmhgoodresult_patient_key'].toString()
then
Destination -> file writer -> on right side " Destination Mapping " you can find filenamePatKey you just create

question : mirth database reader endless loop

HINTS : isdone flag on DB for notice