Bash script to show refreshing task list in terminal

Hi all,
Let me preface this by admitting that I am useless at scripting, so hopefully there will be an easy way to do this!
I am trying to have a terminal running task (a todo list manager) that refreshes automatically. I would like to specify the window title for the terminal, so that awesome knows which tag to display it on.
I figured watch is the easiest way to accomplish this - this strips out the colours, but I can live with that.
If I run:
watch task
from a terminal, all works as expected and I get my todo list refreshing in the current terminal window.
However, if I run:
terminal --hold -e --title=tasklist -e "watch task"
it opens a terminal window in the desired awesome tag with the todo list in, but it does not update.
Instead of using watch, I have tried:
while [ true ]
do
clear
terminal --hold -e --title=tasklist -e "watch task"
sleep 1
done
but this obviously opens many terminal windows all with the title "tasklist", rather than just one which is continually refreshed.
I am sure there must be an easy way to accomplish what I am after, but I can't find it! Any help would be gratefully received.
Thanks for all help,
Stewart
Last edited by sjg (2012-12-01 16:10:18)

Have you tried looking at your music Library in "Browser" Mode?
Edit Menu > Show Browser
Then in the top "Browser" section, make sure the 1st section of "Genre" has "All" selected, then in the middle "Artist" section, you will see a list of all the artists in your Library. Clicking on each artist name should show all their songs as long as the last section, "Albums" has "All" selected

Similar Messages

  • Automatic task list POP UP

    Hi,
    Can anyone guide me about automatic task list pop up while creating maintenance order.
    Thanks
    DM

    yes, u r right we need to use this user exit IWO10021-Task list transfer from notification to order and when we create notification , after updating mandatory data when we click creae order button it will show all task list related to that technical object....plz tell AM I RIGHT???
    if yes, problem i am facing is for some technical onjects it is working and for some it is not, plz guide wat may be reason for the same??
    Thanks
    DM
    Edited by: Deepak M on Nov 20, 2008 6:08 AM

  • Helpful Linux Bash Scripts for I.T. Admins

    I was wondering if you guys had any recommendations for helpful / simple Bash scripts that do helpful tasks in regards to Linux system administration? I have never created or used a Bash shell script but know that many of you guys do. I have no programming experience what so ever so decided to ask if you guys do have one or few scripts that are useful in basic administration tasks, could you please post them or at least point someone who is interested in the right direction?
    Thank you so much!

    I'm no sysadmin but one were to use command-line a lot i would give ZSH a shot. A nicely configured zsh shell can be unbelievably comfortable and is certainly a great tool.
    As for scripts I always thought of them as little helpers customized for certain situations. For instance easing repetitive tasks, batching some steps and timing/automating little things. For general purpose I'd probably look at available software first.
    Maybe tmux for terminal management, ranger for file management, a tiling window manager for efficiency, ssh and other survaillance/maintenance software? Personally, I'd very much like to hear, too, what software/scripts/.. linux systems admins use to keep the work to a minimum .

  • Category drop down list does not show all taskes

    Hi, I created a project using product Upgrade Assitant for Release 12. I did not add any customized tasks. I just need to run the default tasks for upgrading 11i to r12. I did the setup following Maintenance Wizard User Guide Release 2 without any problem. But when I try to run the steps, the category drop down list only show one task: Configuration. Where are all other categories? Thanks

    Hi, Thank you for the reply. I did successfully finished all the 4 tasks for the configuration category without any errors. I want to continue with other tasks. But the drop down list does not show anything else except Configuration. From the user guide:
    Important Notes:
    • To view the full list of categories applicable to your installation, you must complete all of the steps in the Configuration category. When you complete these steps, you must refresh the lower left pane of your Web browser. The entire list of categories appears.
    What does this mean "you must refresh the lower left pane of your Web browser". I don't see anything to be refreshed. But even after I restarted mw (it must be refreshed now), the category list still now shown.

  • The firefox icon shows on my desk top and in my task bar, but why does it NOT show in my list of Program files?

    My Firefox icons are showing and usable from the desktop and from the task bar; however, the Mozilla Firefox does not show in my list of program files. Why doesn't it show?

    Hello,
    Certain Firefox problems can be solved by performing a ''Clean reinstall''. This means you remove Firefox program files and then reinstall Firefox. Please follow these steps:
    '''Note:''' You might want to print these steps or view them in another browser.
    #Download the latest Desktop version of Firefox from http://www.mozilla.org and save the setup file to your computer.
    #After the download finishes, close all Firefox windows (click Exit from the Firefox or File menu).
    #Delete the Firefox installation folder, which is located in one of these locations, by default:
    #*'''Windows:'''
    #**C:\Program Files\Mozilla Firefox
    #**C:\Program Files (x86)\Mozilla Firefox
    #*'''Mac:''' Delete Firefox from the Applications folder.
    #*'''Linux:''' If you installed Firefox with the distro-based package manager, you should use the same way to uninstall it - see [[Installing Firefox on Linux]]. If you downloaded and installed the binary package from the [http://www.mozilla.org/firefox#desktop Firefox download page], simply remove the folder ''firefox'' in your home directory.
    #Now, go ahead and reinstall Firefox:
    ##Double-click the downloaded installation file and go through the steps of the installation wizard.
    ##Once the wizard is finished, choose to directly open Firefox after clicking the Finish button.
    More information about reinstalling Firefox can be found [https://support.mozilla.org/en-US/kb/troubleshoot-and-diagnose-firefox-problems?esab=a&s=troubleshooting&r=3&as=s#w_5-reinstall-firefox here].
    <b>WARNING:</b> Do not run Firefox's uninstaller or use a third party remover as part of this process, because that could permanently delete your Firefox data, including but not limited to, extensions, cache, cookies, bookmarks, personal settings and saved passwords. <u>These cannot be recovered unless they have been backed up to an external device!</u>
    Please report back to see if this helped you!
    Thank you.

  • Need 2 metadata fields from item I am running a approval workflow on to show up on the task list

    I have document library "A" that contains many documents with 6 columns of metadata. I have a simple approval workflow for the library that works as it should in functionality. My users would like it if 2 fields of metadata from the items in library
    "A" would show up in the Task list so they could track the tasks by the 2 fields. Can anyone point me in the right direction here to make this happen? Working in SP2010 with Designer 2010 and IP 2010.
    Thanks 

    Hi Ross,
    According to your description, my understanding is that you want to display two managed metadata fields in the associated tasks created in the approval workflow.
    I recommend to edit the approval workflow in SharePoint Designer and new two task fields to display the two managed metadata fields.
    Here are the detailed steps:
    Open the approval workflow in SharePoint Designer and click Approval in Start Approval Process step.
    Click New to create two task form fields in single line of text type.
    Click Change the behavior of a single task under Customization.
    In Before a Task is Assigned step, select Set Task Field under Task Behavior Actions and then set the newly created task form fields to get the values in the managed metadata fields of current item.
    Please refer to the picture below(create a task form field called Managed Metadata for example and mm is the managed metadata column in the list):
    Best regards.
    Thanks
    Victoria Xia
    TechNet Community Support

  • Bash script to insert item in a alphabetical list

    I would like to use a bash script to insert a new "source" file into a list of sources which occurs within another file.
    The file in question is quite long and contains many other things. However the list of sources abides by the format below.
    [snip]
    SOURCES = \
    _add_datasource_.m \
    _add_line_series_.m \
    ylabel.m \
    ylim.m \
    zlabel.m \
    zlim.m
    [snip]
    How might I insert a new source file in alphabetical order. I'm assuming there is a fairly simple script to do such.
    TiA

    #!/usr/bin/env bash
    if [[ $# != 1 ]]; then
    echo 1>&2 "Usage: ${0##*/} fileto_insert_inSOURCE"
    exit 1
    fi
    MAKEFILE=Makefile.in
    TMP=/tmp/tmp.$$
    awk -v new="$1" '
    /^SOURCES =/ { in_src = 1 }
    in_src && ! done && $1 > new {
    # New file goes here
    printf(" %s \
    ", new)
    in_src = 0
    done = 1
    in_src && ! done && ! /\$/ {
    # New file must go after the last entry.
    # Put  on old last entry.
    printf("%s \
    ", $0)
    # replace current $0 with the new file.
    $0 = sprintf(" %s
    ", new)
    done = 1
    ! /\$/ { in_src = 0 } # NOT in SOURCE
    { print } # print current line
    ' $MAKEFILE >$TMP
    mv $TMP $MAKEFILE

  • In Mss task areoved but it still shows in my mss task list why?

    Hi,
    I have a querry in my Mss i approved the leave request but still it's remain in my task for approval can You plz give me suggection where's the problem .
    Thanks and Regards
    Yagyashikha

    Hi,
    The task list in MSS is technically Universal Work List in Portal.The UWL connects to the backend which acts as a provider system.The task does not disappear immediately because the request to process the task does not go immediately to the backend from Portal.The frequency of refreshing Portal UWL from backend can be configured in Portal under System Administration -> System Configuration -> Universal Work List Administration.
    For more information related to this read the below blog
    http://www.sdn.sap.com/irj/scn/weblogs;jsessionid=(J2EE3417800)ID1708162850DB01939938371209838558End?blog=/pub/wlg/3081
    Similar threads
    Universal worlist item stuck...
    Universal Worklist refresh delay - Reduce default time
    And do understand that only changing portal configuration or configuring delta pull for UWL may not solve the problem.
    It depends on how fast the backend can process the UWL tasks.

  • Task List - Show Related Item URL in the EditForm.aspx

    Hello guys,
    I have a document library and a task list, I used a script to open the task directly in EditForm.aspx
    (so the approve\reject buttons will be available directly on the form)..
    what is happening is i'm not able to display (Related Item) link in the EditForm.aspx, it is available only in the DispForm.aspx.
    Thanks.
    Imad El-Qasem

    Hi Rajani,
    as simple as this, SP workflow is associated with the library, when the document status is "closed" Task will be assigned to a user.
    in the tasks, the related item will appear only on the Dispform.aspx but not on the Editform.aspx.
    how to display related item in the Editform.aspx task form
    Thanks

  • UI shell task list: Showing a tree hierarchy in Regional Area

    Hi,
    We have a requirement where we want a tree to be displayed in the menu model as task list links and clicking on any node in the tree should open up a task flow in the local area.
    Given below is one example, in the task list in the UI shell (Regional Area) and the tree should also appear as a link and on clicking any of the nodes should call a task flow with the context getting passed.
    A
    B
    C
    Please let me know if you have any idea on how to achieve this functionality.
    Thanks,
    Rakesh

    Hi,
    I can't to this time share the whole document or sample. However, the way to do this is quite simple. The document I pointed you to actually contains the soluion (though not in code)
    1. Create a managed bean with method for lauching each of the task flows you want to launch (e.g. openCreateDepartmentBTF, openUpdateEmployeesBtf).
    2. The managed bean method then uses the the TabContext as shown in the example below
    //clicking the link in the customer tree or using the context menu
        //opens the selected customer orders task flow in a new tab in the
        //UI Shell template
        public void openCustomerOrdersTab(ActionEvent actionEvent){       
          //the tree node for customers is a command link
          UIComponent link = (UIComponent) actionEvent.getSource();
          //the command link as custom attributes defined to pass arguments
          //to the task flow. The customerName attribute is a display string
          //to show as the tab title
          String customerName = (String) link.getAttributes().get("customerName");
          //the task flow requires the customer ID as a query parameter
          Object initialQueryArgument = link.getAttributes().get("initialQueryArgument");
          //arguments must be passed in a HashMap to teh task flow to be generic. The UI Shell tab
          //context class is passed implicit
          HashMap taskFlowParameters = new HashMap();
          taskFlowParameters.put("initialQueryArgument", initialQueryArgument);
          taskFlowName = "/WEB-INF/customerOrdersCRUD/customerOrdersCRUD-btf.xml#customerOrdersCRUD-btf";
          //call a private method that accesses the TabContext class to open a new tab
          this._launchActivity(customerName+" Orders", taskFlowName, taskFlowParameters, true);
          this.showInnerToolbar();
        }3) Create the tree similar to
    <af:tree value="#{bindings.AllCountries.treeModel}" var="node"
         selectionListener="#{bindings.AllCountries.treeModel.makeCurrent}"
          rowSelection="single" id="t1" autoHeightRows="35">
          <f:facet name="nodeStamp">
                  <af:commandLink id="cl4" text="#{node}"
                                               rendered="#{node.hierTypeBinding.viewDefName == 'oracle.summit.model.views.CustomerVO'}"
                                               actionListener="#{tabShellLauncher.openCustomerOrdersTab}"
                                               clientComponent="true">
                                              <f:attribute name="initialQueryArgument"
                                                                             value="#{node.id}"/>
                                              <f:attribute name="customerName"
                                                                 value="#{node.name}"/>
                        </af:commandLink>
             </f:facet>
    </af:tree>                                                    If you need different command links for different nodes in teh hierarchy, you can add them all and then set its rendered property to
    rendered="#{node.hierTypeBinding.viewDefName == 'oracle.summit.model.views.CountryVO'}"
    In the above sample, the command link only renders if the VO is CountryVO in the specified package
    Frank

  • Custom ribbon button does not show for a Tasks list

    I created a simple app using Visual Studio 2012 to add a custom ribbon button for a tasks list. After deploying the app to the SharePoint online, the button does not appear on the ribbon. The exact same button gets displayed properly
    when added to the ribbon for a custom list.  The elements file with the location of the button gets generated, so I can't imagine it would be wrong, but just in case, this is what I have:
    <CustomAction Location="CommandUI.Ribbon"....
    <CommandUIDefinition Location="Ribbon.ListItem.Actions.Controls._children">...
    Any help is greatly appreciated.
    One more thing, if I add this button using SharePoint Designer 2013, the button does not get displayed either. I have a feeling it might be problem with the Tasks list?
    Thanks

    Hi Danny,
    The button needs to be displayed only for one specific list. And as I mentioned, the elements file for the ribbon button was generated by VS, here is the content:
    <Elements xmlns="http://schemas.microsoft.com/sharepoint/">
    <CustomAction Id="02aa4c3b-bb73-4dfa-989c-d63a9591dcee.RibbonCustomAction" RegistrationType="List" RegistrationId="{$ListId:Lists/Projects;}" Location="CommandUI.Ribbon" Sequence="10001" Title="Create Project Site">
    <CommandUIExtension>
    <CommandUIDefinitions>
    <CommandUIDefinition Location="Ribbon.ListItem.Actions.Controls._children">
    <Button Id="Ribbon.ListItem.Actions.RibbonCustomActionButton" Alt="Create Project Site" Sequence="100" Command="Invoke_RibbonCustomActionButtonRequest" LabelText="Create Project Site" TemplateAlias="o1" Image32by32="_layouts/15/images/placeholder32x32.png" Image16by16="_layouts/15/images/placeholder16x16.png" />
    </CommandUIDefinition>
    </CommandUIDefinitions>
    <CommandUIHandlers>
    <CommandUIHandler Command="Invoke_RibbonCustomActionButtonRequest" CommandAction="~remoteAppUrl/Pages/Default.aspx?{StandardTokens}&SPListItemId={ItemId}&SPListId={ListId}"/>
    </CommandUIHandlers>
    </CommandUIExtension >
    </CustomAction>
    </Elements>
    If the same button is added for a custom (not a Tasks) list, the button shows up fine.
    Thanks

  • Task list getting refreshed in Enquiry notifications.

    Hi,
    I am facing this peculier and interesting problem in ISU .
    Notification type EN (for enquiries) - notificition can be assign to tasks - which can be linked to another notification(eg: site visit required), clicking on display button which displays the other notification but then if you come out of the second notification in to the EN Notification the system refresh hasn't worked and all of the tasks are then blank.
    Appreciate if anyone could come up with suggestions/resolutions.
    Regards,
    Abhilash.T
    Edited by: Abhilash Thankappan on Apr 21, 2008 1:18 PM

    Hi
    All operations of the task lists including long text if any are copied to the  operations of order in standard SAP. However task lists are copied to notifications generated out of plan, but only be usefull when you create order from it.
    Shakti

  • Download Bash script running from Task-bar folder

    Hi, Not sure why but when Im trying to open my Downloads file from the task bar its openning up on my desktop as "Downloads-Bash script! how do i stop this please. Its the same if I open from Finder.
    Thank you all in anticipation of a resolve.

    Enter the following command in a Terminal window by copying or dragging (don’t type):
    xattr -c ~/Downloads
    Press return. You can then quit Terminal. Try the action again. If the same thing happens, relaunch the Finder by selecting
     ▹ Force Quit ▹ Finder
    and pressing return or clicking Relaunch.

  • Creating Hidden iView to get refresh UWL task list

    Hi @ll,
    i would like to know how can we create hidden iView to update task list in UWL using refreshUwlBackend event.

    Hi,
    You cannot use an invisible WD Java iView because the application is not executed if the iView is not visible.
    I don't know if it would work with other types of iViews.
    Regards,
    Pierre

  • Show a custom list field in task list

    Hi
    i created a custom list and started approval workflow process
    i want to provide a field called employename in task list bcz
    when apporver user  opens tasklist and before approve  he will enter employeename in this filed
    adil

    Hello,
    Above link to add field in task form but if you want to create lookup column so modify your form in infopath. Then add field to get emp name from emp list
    One more link to customize task form and add column
    http://office.microsoft.com/en-us/office365-sharepoint-online-enterprise-help/customize-a-task-details-page-HA103858063.aspx
    http://www.jasperoosterveld.com/2012/05/how-to-change-workflow-task-form-with.html
    This link will give you an idea to modify the form.
    Hemendra:Yesterday is just a memory,Tomorrow we may never see
    Please remember to mark the replies as answers if they help and unmark them if they provide no help

Maybe you are looking for

  • How to make TIME_STAMP as file name in log4j

    How can i make a time stamp as a file name when log4j make a file? eg: <param name="File" value="'HH-mm-ss-SSS'".log />is there any feature available. ThankQ Han

  • [Oracle 8i] Need help with bind variable in add_months function

    I'm trying to put a variable within my add_months function: AND     t1.edatetime >= add_months(sysdate,:v1) AND     t1.edatetime <= add_months(sysdate,:v2)I have tried defining the variable both as 'integer' type and 'numeric' type, but in both cases

  • Cannot Install Itunes on Windows XP because an old Quicktime file is on PC

    Hi Folks, i have been following these discussions. Like everyone else, I have been trying to reinstall itunes on Windows XP, by going through all the processes as described . The "block" against a successfull reinstall is having an old Quicktime file

  • Inserting a text clip in a slideshow.

    I'm creating a slideshow in iMovie. I have successfully imported and arranged pictures, video and audio and added transitions to spiff it up. The question I have is how to add text clips in between pictures. For instance, I want to insert a poem betw

  • How to use ordimageSignature in JDeveloper 9.0.3

    Can anyone help me the coding of how does the ordimageSignature work in JDeveloper 9.0.3 i am using ordimageSignature to compare two images in the database which using ordimage..... Please help and post the code if possible Thank a lot for helping.